diff --git a/params/version.go b/params/version.go index 368bfc842..b23e45bcd 100644 --- a/params/version.go +++ b/params/version.go @@ -31,22 +31,26 @@ 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 + VersionMajor = 2 // Major version 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 }