do not use --tags to get git description/version
This commit is contained in:
parent
3f15584749
commit
61e66bb763
2
wscript
2
wscript
@ -68,7 +68,7 @@ def fetch_gcc_version (CC):
|
||||
return version
|
||||
|
||||
def fetch_git_revision ():
|
||||
cmd = "git describe --tags HEAD"
|
||||
cmd = "git describe HEAD"
|
||||
output = subprocess.Popen(cmd, shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0].splitlines()
|
||||
rev = output[0].decode('utf-8')
|
||||
return rev
|
||||
|
Loading…
Reference in New Issue
Block a user