Skip to content

Commit e17dc6d

Browse files
committed
update setup.py
1 parent d8f0929 commit e17dc6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# noinspection PyBroadException
1010
try:
11-
git_version = subprocess.check_output(["git", "describe"]).decode("utf-8").strip()
11+
git_version = subprocess.check_output(["git", "describe", "--tag", "--abbrev=0"]).decode("utf-8").strip()
1212
pypi_version = git_version[1:]
1313
except Exception:
1414
with open(version_file, "r") as vf:

0 commit comments

Comments
 (0)