markchalloner / git-semver

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

git semver get is returning the wrong version #44

Open dangarthwaite opened 5 years ago

dangarthwaite commented 5 years ago
$ cat .git-semver
# See https://github.com/markchalloner/git-semver
VERSION_PREFIX=v

$ git semver get
v1.40.0

$ git semver major
v2.0.0

$ git push origin v2.0.0
Everything up-to-date

$ git semver get
v1.40.0
john-tipper commented 4 years ago

I have pushed a PR (#46) that I believe fixes this (hope it will be merged soon), please let me know if you see further issues.