Files
tendermint/version/version.go
ValarDragon 99e582d79a crypto: Refactor to move files out of the top level directory
Currently the top level directory contains basically all of the code
for the crypto package. This PR moves the crypto code into submodules
in a similar manner to what `golang/x/crypto` does. This improves code
organization.

Ref discussion: https://github.com/tendermint/tendermint/pull/1966

Closes #1956
2018-07-18 08:38:44 -07:00

24 lines
370 B
Go

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