diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/semver | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/semver b/bin/semver index a811dca..cdc993a 100755 --- a/bin/semver +++ b/bin/semver @@ -55,7 +55,7 @@ if subprocess.run(["git", "branch", "--show-current"], subprocess.run(["git", "pull", "--rebase"]) -p = subprocess.run(["git", "describe", "--abbrev=0"], stdout=subprocess.PIPE) +p = subprocess.run(["git", "describe", "--abbrev=0", "--tags"], stdout=subprocess.PIPE) describe = p.stdout.decode().strip() # TODO also ask to re-append the trailing portion.... e.g. -rev1 old_version = describe.split("-")[0].split(".") |