markchalloner / git-semver

Git plugin for Semantic Versioning
MIT License
382 stars 43 forks source link

double usage and "unary operator expected" feedback on "get" #20

Closed zeroasterisk closed 6 years ago

zeroasterisk commented 7 years ago
$ git semver get
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
/Users/alan/bin/git-semver: line 185: [: -86400: unary operator expected
2.0.2

$ uname -a
Darwin alan-MBP.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Jan  9 23:07:29 PST 2017; root:xnu-3248.60.11.2.1~1/RELEASE_X86_64 x86_64 i386 MacBookPro11,5 Darwin

$ git --version
git version 2.10.1 (Apple Git-78)
EmilDafinov commented 7 years ago

I'm experiencing the same problem, any updates on this?

jwhitmarsh commented 6 years ago

Hi @markchalloner - firstly, thanks for the awesome tool!

I appreciate why you've closed this issue (it's fixed on master) but just a heads-up that in the install script on the README still checks for the latest release which is currently 2.0.2 (where this issue is still a problem).