tendermint/version/version.go

27 lines
450 B
Go
Raw Normal View History

2016-01-20 13:25:26 -08:00
package version
2018-04-26 17:35:04 -07:00
// Version components
const (
Maj = "0"
2018-09-21 14:41:02 -07:00
Min = "25"
2018-09-05 16:24:19 -07:00
Fix = "0"
2018-04-26 17:35:04 -07:00
)
2016-01-20 13:25:26 -08:00
2017-05-09 02:37:59 -07:00
var (
// Version is the current version of Tendermint
// Must be a string because scripts like dist.sh read this file.
2018-09-21 14:41:02 -07:00
Version = "0.25.0"
2017-05-09 02:37:59 -07:00
// GitCommit is the current HEAD set using ldflags.
2017-05-09 02:37:59 -07:00
GitCommit string
)
2018-09-06 14:58:12 -07:00
// ABCIVersion is the version of the ABCI library
const ABCIVersion = "0.14.0"
2017-05-09 02:37:59 -07:00
func init() {
if GitCommit != "" {
Version += "-" + GitCommit
2017-05-09 02:37:59 -07:00
}
}