tendermint/version/version.go

24 lines
374 B
Go

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