markchalloner / git-semver

Git plugin for Semantic Versioning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

zeroasterisk opened this issue · comments

$ 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)

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

commented

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).