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