tendermint/version/version.go

21 lines
353 B
Go

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