agl / pond

Pond
BSD 3-Clause "New" or "Revised" License
911 stars 109 forks source link

I don't know how to figure out pond's version #212

Open zookozcash opened 8 years ago

zookozcash commented 8 years ago

I'd like to know what version of pond I have here. Ideally the answer would be a git commit id, but I'd take a self-declared version number or string, too.

$ ./bin/client --version flag provided but not defined: -version Usage of ./bin/client: -cli=false: If true, the CLI will be used, even if the GUI is available -dev=false: Is this a development environment? -panda-scrypt=false: Run in subprocess mode to process passphrase -state-file="": File in which to save persistent state

zookozcash commented 8 years ago

Before opening this ticket, I also tried:

None of them told me any information about what version of pond I have here.

ebfe commented 8 years ago

Maybe

$ cd $GOPATH/src/github.com/agl/pond
$ git describe
v0.1.1-7-gbce6e0d 
zookozcash commented 8 years ago

Perfect. Thanks!

$ git describe v0.1.1-7-gbce6e0d

zookozcash commented 8 years ago

So, to close this ticket, how about somebody makes it so that ./bin/client --version outputs that same string that git describe does?