fixed string concatentate issue on version_git.py #bugfix

This commit is contained in:
pyr0ball 2020-05-10 14:22:01 -07:00
parent a44ed2556f
commit 74eabff950

View file

@ -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 + "\\\"")