markchalloner / git-semver

Git plugin for Semantic Versioning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git semver get is returning the wrong version

dangarthwaite opened this issue · comments

$ 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

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.