|
|
@ -22,12 +22,12 @@ const semanticAlphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqr
|
|
|
|
// versioning 2.0.0 spec (http://semver.org/).
|
|
|
|
// versioning 2.0.0 spec (http://semver.org/).
|
|
|
|
const (
|
|
|
|
const (
|
|
|
|
appMajor uint = 0
|
|
|
|
appMajor uint = 0
|
|
|
|
appMinor uint = 3
|
|
|
|
appMinor uint = 4
|
|
|
|
appPatch uint = 1
|
|
|
|
appPatch uint = 0
|
|
|
|
|
|
|
|
|
|
|
|
// appPreRelease MUST only contain characters from semanticAlphabet per
|
|
|
|
// appPreRelease MUST only contain characters from semanticAlphabet per
|
|
|
|
// the semantic versioning spec.
|
|
|
|
// the semantic versioning spec.
|
|
|
|
appPreRelease = "alpha"
|
|
|
|
appPreRelease = "rc1.beta"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
// Version returns the application version as a properly formed string per the
|
|
|
|
// Version returns the application version as a properly formed string per the
|
|
|
|