mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 14:52:17 +00:00
24 lines
370 B
Go
24 lines
370 B
Go
|
package version
|
||
|
|
||
|
// Version components
|
||
|
const (
|
||
|
Maj = "0"
|
||
|
Min = "22"
|
||
|
Fix = "0"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
// Version is the current version of Tendermint
|
||
|
// Must be a string because scripts like dist.sh read this file.
|
||
|
Version = "0.22.0"
|
||
|
|
||
|
// GitCommit is the current HEAD set using ldflags.
|
||
|
GitCommit string
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
if GitCommit != "" {
|
||
|
Version += "-" + GitCommit
|
||
|
}
|
||
|
}
|