Skip to content

Commit

Permalink
Modify setup.py to strip "v" from tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
bradsease committed May 21, 2020
1 parent fce8584 commit f541929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
with open("README.md", "r") as fh:
long_description = fh.read()

version = os.environ.get("CI_COMMIT_TAG")
version = os.environ.get("CI_COMMIT_TAG")[1:]
if version is None:
raise ValueError("Version not found.")

Expand Down

0 comments on commit f541929

Please sign in to comment.