summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools/SCons/Version.py')
-rw-r--r--BuildTools/SCons/Version.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/SCons/Version.py b/BuildTools/SCons/Version.py
index f4affd4..0ff1531 100644
--- a/BuildTools/SCons/Version.py
+++ b/BuildTools/SCons/Version.py
@@ -8,7 +8,7 @@ def getGitBuildVersion(project) :
for tag in tags.split("\n") :
tagVersion = git("rev-parse " + tag + "^{commit}")
if tagVersion == headVersion :
- return tag
+ return tag[len(project)+1:]
return None
def git(cmd) :