diff --git a/params/version.go b/params/version.go index 734809304..564b106be 100644 --- a/params/version.go +++ b/params/version.go @@ -21,10 +21,11 @@ import ( ) const ( - VersionMajor = 1 // Major version component of the current release - VersionMinor = 11 // Minor version component of the current release - VersionPatch = 6 // Patch version component of the current release - VersionMeta = "stable" // Version metadata to append to the version string + VersionMajor = 1 // Major version component of the current release + VersionMinor = 0 // Minor version component of the current release + VersionPatch = 0 // Patch version component of the current release + VariantMeta = "pulse" // Variant metadata to append to the version string + VersionMeta = "unstable" // Version metadata to append to the version string ) // Version holds the textual version string. @@ -35,6 +36,9 @@ var Version = func() string { // VersionWithMeta holds the textual version string including the metadata. var VersionWithMeta = func() string { v := Version + if VariantMeta != "" { + v += "-" + VariantMeta + } if VersionMeta != "" { v += "-" + VersionMeta }