Skip to content
Snippets Groups Projects
Unverified Commit 695fcddd authored by Kai Chen's avatar Kai Chen Committed by GitHub
Browse files

Correct the version number (#2070)

parent 9e15a014
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ MAJOR = 1 ...@@ -24,7 +24,7 @@ MAJOR = 1
MINOR = 0 MINOR = 0
PATCH = 0 PATCH = 0
SUFFIX = '' SUFFIX = ''
if PATCH: if PATCH != '':
SHORT_VERSION = '{}.{}.{}{}'.format(MAJOR, MINOR, PATCH, SUFFIX) SHORT_VERSION = '{}.{}.{}{}'.format(MAJOR, MINOR, PATCH, SUFFIX)
else: else:
SHORT_VERSION = '{}.{}{}'.format(MAJOR, MINOR, SUFFIX) SHORT_VERSION = '{}.{}{}'.format(MAJOR, MINOR, SUFFIX)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment