tendermint/version/version.go
2018-07-10 10:12:55 -04:00

24 lines
374 B
Go

package version
// Version components
const (
Maj = "0"
Min = "22"
Fix = "2"
)
var (
// Version is the current version of Tendermint
// Must be a string because scripts like dist.sh read this file.
Version = "0.22.2-dev"
// GitCommit is the current HEAD set using ldflags.
GitCommit string
)
func init() {
if GitCommit != "" {
Version += "-" + GitCommit
}
}