diff options
-rwxr-xr-x | src/scripts/version | 2 |
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 |