mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
fix for --get-describe
This commit is contained in:
parent
f8d022a180
commit
3bbe5eceeb
|
@ -2685,8 +2685,8 @@ def get_full_version_string(major, minor, build, revision):
|
||||||
if GIT_HASH:
|
if GIT_HASH:
|
||||||
res += " " + GIT_HASH
|
res += " " + GIT_HASH
|
||||||
if GIT_DESCRIBE:
|
if GIT_DESCRIBE:
|
||||||
branch = check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD', '--long'])
|
branch = check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
|
||||||
res += " master " + check_output(['git', 'describe'])
|
res += " " + branch + " " + check_output(['git', 'describe'])
|
||||||
return '"' + res + '"'
|
return '"' + res + '"'
|
||||||
|
|
||||||
# Update files with the version number
|
# Update files with the version number
|
||||||
|
|
Loading…
Reference in a new issue