2015-07-03 01:01:27 +08:00
|
|
|
package specs
|
|
|
|
|
2015-09-10 23:17:34 +08:00
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
const (
|
|
|
|
// VersionMajor is for an API incompatible changes
|
2016-06-04 03:15:30 +08:00
|
|
|
VersionMajor = 1
|
2015-09-10 23:17:34 +08:00
|
|
|
// VersionMinor is for functionality in a backwards-compatible manner
|
2016-06-04 03:15:30 +08:00
|
|
|
VersionMinor = 0
|
2015-09-10 23:17:34 +08:00
|
|
|
// VersionPatch is for backwards-compatible bug fixes
|
|
|
|
VersionPatch = 0
|
2016-01-06 05:52:01 +08:00
|
|
|
|
|
|
|
// VersionDev indicates development branch. Releases will be empty string.
|
2017-01-28 04:22:41 +08:00
|
|
|
VersionDev = "-rc4-dev"
|
2015-09-10 23:17:34 +08:00
|
|
|
)
|
|
|
|
|
2015-07-03 01:01:27 +08:00
|
|
|
// Version is the specification version that the package types support.
|
2016-01-06 05:52:01 +08:00
|
|
|
var Version = fmt.Sprintf("%d.%d.%d%s", VersionMajor, VersionMinor, VersionPatch, VersionDev)
|