woodpecker/version/version.go

20 lines
537 B
Go
Raw Normal View History

2016-03-30 07:48:47 +00:00
package version
import "fmt"
2016-04-17 18:14:27 +00:00
var (
2016-03-30 07:48:47 +00:00
// VersionMajor is for an API incompatible changes
VersionMajor = 0
// VersionMinor is for functionality in a backwards-compatible manner
2017-03-16 10:14:02 +00:00
VersionMinor = 6
2016-03-30 07:48:47 +00:00
// VersionPatch is for backwards-compatible bug fixes
VersionPatch = 0
2016-03-30 07:48:47 +00:00
// VersionDev indicates development branch. Releases will be empty string.
VersionDev = "dev"
)
// Version is the specification version that the package types support.
var Version = fmt.Sprintf("%d.%d.%d+%s",
VersionMajor, VersionMinor, VersionPatch, VersionDev)