fixed string concatentate issue on version_git.py #bugfix
This commit is contained in:
parent
a44ed2556f
commit
74eabff950
1 changed files with 5 additions and 2 deletions
|
|
@ -1,4 +1,7 @@
|
|||
import subprocess
|
||||
|
||||
major_version = "2.2.1"
|
||||
print("-DPP_VERSION=\\\"" + major_version + "_" + subprocess.check_output(["git", "rev-parse", "HEAD"])[0:6] + "\\\"")
|
||||
major_version = "2.3.0"
|
||||
|
||||
git_head = str(subprocess.check_output(["git", "rev-parse", "HEAD"])[0:6])
|
||||
|
||||
print("-DPP_VERSION=\\\"" + major_version + "_" + git_head + "\\\"")
|
||||
Loading…
Reference in a new issue