13
0

do not use --tags to get git description/version

This commit is contained in:
Paul Davis 2013-10-22 14:51:14 -04:00
parent 3f15584749
commit 61e66bb763

View File

@ -68,7 +68,7 @@ def fetch_gcc_version (CC):
return version return version
def fetch_git_revision (): 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() output = subprocess.Popen(cmd, shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0].splitlines()
rev = output[0].decode('utf-8') rev = output[0].decode('utf-8')
return rev return rev