summaryrefslogtreecommitdiffstats
path: root/util/get-ver
diff options
context:
space:
mode:
Diffstat (limited to 'util/get-ver')
-rwxr-xr-xutil/get-ver2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/get-ver b/util/get-ver
index ade7d22..7d03e56 100755
--- a/util/get-ver
+++ b/util/get-ver
@@ -1,4 +1,4 @@
#!/bin/sh
-ver=$(git describe --always --dirty); echo "e2fsprogs $ver ($(git log -1 --pretty=%cD))"
+ver=$(git describe --always --dirty --match 'v*'); echo "e2fsprogs $ver ($(git log -1 --pretty=%cD))"