2017-03-16 07:39:28 +00:00
|
|
|
package params
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
2017-05-03 14:24:48 +00:00
|
|
|
// VersionMajor is a major version component of the current release
|
|
|
|
VersionMajor = 0
|
|
|
|
|
|
|
|
// VersionMinor is a minor version component of the current release
|
|
|
|
VersionMinor = 9
|
|
|
|
|
|
|
|
// VersionPatch is a patch version component of the current release
|
2017-09-19 11:30:02 +00:00
|
|
|
VersionPatch = 9
|
2017-05-03 14:24:48 +00:00
|
|
|
|
|
|
|
// VersionMeta is metadata to append to the version string
|
2017-05-29 16:43:48 +00:00
|
|
|
VersionMeta = "unstable"
|
2017-03-16 07:39:28 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Version exposes string representation of program version.
|
|
|
|
var Version = fmt.Sprintf("%d.%d.%d-%s", VersionMajor, VersionMinor, VersionPatch, VersionMeta)
|