pond icon indicating copy to clipboard operation
pond copied to clipboard

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

Open zookozcash opened this issue 9 years ago • 4 comments

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 avatar Jan 14 '16 19:01 zookozcash

Before opening this ticket, I also tried:

  • grepping the logs of having fetched and built it with "go get", per the instructions
  • querying go, with "go list", "go vet", and "go version"
  • exploring the filesystem under $GOPATH/src

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

zookozcash avatar Jan 14 '16 20:01 zookozcash

Maybe

$ cd $GOPATH/src/github.com/agl/pond
$ git describe
v0.1.1-7-gbce6e0d 

ebfe avatar Jan 14 '16 20:01 ebfe

Perfect. Thanks!

$ git describe v0.1.1-7-gbce6e0d

zookozcash avatar Jan 15 '16 17:01 zookozcash

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

zookozcash avatar Jan 30 '16 04:01 zookozcash