Unify version in all binaries

This commit is contained in:
Ethan Frey
2017-08-18 22:04:50 +01:00
parent a908c24235
commit 663f96b491
5 changed files with 7 additions and 32 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ import (
"github.com/tendermint/tmlibs/cli"
client "github.com/tendermint/basecoin/client/commands"
"github.com/tendermint/basecoin/cmd/basecoin/commands"
"github.com/tendermint/basecoin/docs/guide/counter/plugins/counter"
)
@@ -24,7 +25,7 @@ func main() {
commands.InitCmd,
commands.StartCmd,
commands.UnsafeResetAllCmd,
commands.VersionCmd,
client.VersionCmd,
)
cmd := cli.PrepareMainCmd(RootCmd, "CT", os.ExpandEnv("$HOME/.counter"))
@@ -70,6 +70,7 @@ func main() {
BaseCli.AddCommand(
commands.InitCmd,
commands.ResetCmd,
commands.VersionCmd,
keycmd.RootCmd,
seeds.RootCmd,
query.RootCmd,