summary refs log tree commit diff
path: root/bin/semver
diff options
context:
space:
mode:
Diffstat (limited to 'bin/semver')
-rwxr-xr-xbin/semver2
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(".")