fixed parsing error for git hash injection to version parameter #bugfix
This commit is contained in:
parent
62e6caf83f
commit
111d7cffe4
1 changed files with 2 additions and 0 deletions
|
|
@ -4,4 +4,6 @@ major_version = "2.3.1"
|
||||||
|
|
||||||
git_head = str(subprocess.check_output(["git", "rev-parse", "HEAD"])[0:6])
|
git_head = str(subprocess.check_output(["git", "rev-parse", "HEAD"])[0:6])
|
||||||
|
|
||||||
|
git_head = git_head.replace("b'", "'")
|
||||||
|
|
||||||
print("-DPP_VERSION=\\\"" + major_version + "_" + git_head + "\\\"")
|
print("-DPP_VERSION=\\\"" + major_version + "_" + git_head + "\\\"")
|
||||||
Loading…
Reference in a new issue