mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-22 07:06:14 +00:00
update version for rc1
This commit is contained in:
+1
-7
@@ -1,24 +1,18 @@
|
||||
package version
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
const Maj = "0"
|
||||
const Min = "10"
|
||||
const Fix = "0"
|
||||
|
||||
var (
|
||||
// The full version string
|
||||
Version = "0.10.0"
|
||||
Version = "0.10.0-rc1"
|
||||
|
||||
// GitCommit is set with --ldflags "-X main.gitCommit=$(git rev-parse HEAD)"
|
||||
GitCommit string
|
||||
)
|
||||
|
||||
func init() {
|
||||
Version = fmt.Sprintf("%d.%d.%d", Maj, Min, Fix)
|
||||
|
||||
if GitCommit != "" {
|
||||
Version += "-" + GitCommit[:8]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user