Prepare stable release

This commit is contained in:
Shane Bammel 2024-02-23 15:25:55 -06:00
parent 25bf2c3b16
commit 98e7c9bc9a

View File

@ -21,9 +21,10 @@ import (
) )
const ( const (
VersionMajor = 1 // Major version component of the current release VersionMajor = 3 // Major version component of the current release
VersionMinor = 13 // Minor version component of the current release VersionMinor = 2 // Minor version component of the current release
VersionPatch = 13 // Patch 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 = "stable" // Version metadata to append to the version string VersionMeta = "stable" // Version metadata to append to the version string
) )
@ -35,6 +36,9 @@ var Version = func() string {
// VersionWithMeta holds the textual version string including the metadata. // VersionWithMeta holds the textual version string including the metadata.
var VersionWithMeta = func() string { var VersionWithMeta = func() string {
v := Version v := Version
if VariantMeta != "" {
v += "-" + VariantMeta
}
if VersionMeta != "" { if VersionMeta != "" {
v += "-" + VersionMeta v += "-" + VersionMeta
} }