Skip to content
Snippets Groups Projects
Unverified Commit 510a8467 authored by Daniel's avatar Daniel
Browse files

FIX: Fixed pre-release string in setup.py

parent 3ec790f7
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,10 @@ MINOR = 2 ...@@ -50,7 +50,10 @@ MINOR = 2
MICRO = 4 MICRO = 4
PRE = "rc0" PRE = "rc0"
ISRELEASED = True ISRELEASED = True
VERSION = "{}.{}.{}{}".format(MAJOR, MINOR, MICRO, PRE) if PRE:
VERSION = "{}.{}.{}-{}".format(MAJOR, MINOR, MICRO, PRE)
else:
VERSION = "{}.{}.{}".format(MAJOR, MINOR, MICRO)
# Return the git revision as a string # Return the git revision as a string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment