aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/version
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/version')
-rwxr-xr-xsrc/scripts/version2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/version b/src/scripts/version
index 455ab760352..f9f3d215641 100755
--- a/src/scripts/version
+++ b/src/scripts/version
@@ -20,7 +20,7 @@ cd "$path"
if [ -f .version ]; then
vstring=$(cat .version)
else
- vstring=$(git describe --long)
+ vstring=$(git describe --long --match "v*")
if [ $? != 0 ]; then
exit 1
fi