Prepare stable release

This commit is contained in:
Shane Bammel 2024-02-19 13:27:16 -06:00
parent 9350c863dd
commit 2e36a257b1

View File

@ -32,21 +32,25 @@ var (
// see https://calver.org
const (
VersionMajor = 2 // Major version component of the current release
VersionMinor = 57 // Minor version component of the current release
VersionMicro = 3 // Patch version component of the current release
VersionModifier = "" // Modifier component of the current release
VersionMinor = 4 // Minor version component of the current release
VersionMicro = 0 // Patch version component of the current release
VersionModifier = "stable" // Modifier component of the current release
VariantMeta = "pulse" // Variant metadata to append to the version string
VersionKeyCreated = "ErigonVersionCreated"
VersionKeyFinished = "ErigonVersionFinished"
)
// Version holds the textual version string.
var Version = func() string {
return fmt.Sprintf("%d.%02d.%d", VersionMajor, VersionMinor, VersionMicro)
return fmt.Sprintf("%d.%d.%d", VersionMajor, VersionMinor, VersionMicro)
}()
// VersionWithMeta holds the textual version string including the metadata.
var VersionWithMeta = func() string {
v := Version
if VariantMeta != "" {
v += "-" + VariantMeta
}
if VersionModifier != "" {
v += "-" + VersionModifier
}