mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-03 06:37:14 +00:00
version: revert version through ldflag only (#6494)
## Description Add version back to versions, but allow it to be overridden via a ldflag. Reason: Many users are not setting the ldflag causing issues with tooling that relies on it (cosmjs) closes #6488 cc @webmaster128
This commit is contained in:
+5
-3
@@ -3,12 +3,14 @@ package version
|
||||
import tmversion "github.com/tendermint/tendermint/proto/tendermint/version"
|
||||
|
||||
var (
|
||||
// TMCoreSemVer is the current version of Tendermint Core.
|
||||
// It's the Semantic Version of the software.
|
||||
TMCoreSemVer string
|
||||
TMVersion = TMVersionDefault
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
// TMVersionDefault is the used as the fallback version of Tendermint Core
|
||||
// when not using git describe. It is formatted with semantic versioning.
|
||||
TMVersionDefault = "0.34.10"
|
||||
// ABCISemVer is the semantic version of the ABCI library
|
||||
ABCISemVer = "0.17.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user