Update version

This commit is contained in:
Shane Bammel 2022-09-26 22:20:16 -05:00
parent d39eeb0f2f
commit a4fa66f78c

View File

@ -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
}