summaryrefslogtreecommitdiff
path: root/pkg/version.py
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/version.py')
-rw-r--r--pkg/version.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/version.py b/pkg/version.py
index aa872b29..6366be84 100644
--- a/pkg/version.py
+++ b/pkg/version.py
@@ -89,6 +89,8 @@ def get_git_version(abbrev=4):
if version is None:
raise ValueError("Cannot find the version number!")
+ version = ''.join(version.split('/')[1:])
+
# If the current version is different from what's in the
# RELEASE-VERSION file, update the file to be current.