2016-01-20 16:25:26 -05:00
|
|
|
package version
|
|
|
|
|
2018-04-26 20:35:04 -04:00
|
|
|
// Version components
|
|
|
|
const (
|
|
|
|
Maj = "0"
|
|
|
|
Min = "19"
|
2018-05-17 22:28:53 -04:00
|
|
|
Fix = "5"
|
2018-04-26 20:35:04 -04:00
|
|
|
)
|
2016-01-20 16:25:26 -05:00
|
|
|
|
2017-05-09 11:37:59 +02:00
|
|
|
var (
|
2017-12-04 22:16:19 -06:00
|
|
|
// Version is the current version of Tendermint
|
|
|
|
// Must be a string because scripts like dist.sh read this file.
|
2018-05-20 10:22:42 -04:00
|
|
|
Version = "0.19.5"
|
2017-05-09 11:37:59 +02:00
|
|
|
|
2017-12-04 22:16:19 -06:00
|
|
|
// GitCommit is the current HEAD set using ldflags.
|
2017-05-09 11:37:59 +02:00
|
|
|
GitCommit string
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
if GitCommit != "" {
|
2017-12-04 22:16:19 -06:00
|
|
|
Version += "-" + GitCommit
|
2017-05-09 11:37:59 +02:00
|
|
|
}
|
|
|
|
}
|