add build version to const.py
This commit is contained in:
parent
ecf02a023a
commit
d6b26eff26
@ -137,7 +137,7 @@ sys.path.insert(0, ROOT_DIR)
|
|||||||
git_revision = get_git_revision(ROOT_DIR).replace('\n', '')
|
git_revision = get_git_revision(ROOT_DIR).replace('\n', '')
|
||||||
if sys.platform == 'win32' and git_revision == "":
|
if sys.platform == 'win32' and git_revision == "":
|
||||||
git_revision = get_git_revision(os.path.split(ROOT_DIR)[1])
|
git_revision = get_git_revision(os.path.split(ROOT_DIR)[1])
|
||||||
#VERSION += git_revision
|
VERSION += git_revision
|
||||||
|
|
||||||
#
|
#
|
||||||
# Glade files
|
# Glade files
|
||||||
|
Loading…
Reference in New Issue
Block a user