From 2e36a257b16267acbbcfacc2b78b2b0cc4f2cba7 Mon Sep 17 00:00:00 2001 From: Shane Bammel Date: Mon, 19 Feb 2024 13:27:16 -0600 Subject: [PATCH] Prepare stable release --- params/version.go | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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 }