diff --git a/scripts/getversion.sh b/scripts/getversion.sh index 8c437762a2..ccd2e2a865 100755 --- a/scripts/getversion.sh +++ b/scripts/getversion.sh @@ -8,6 +8,6 @@ fi cd "$1" || exit 1 cat .scmversion 2>/dev/null && exit 0 -git --git-dir=.git describe --always --abbrev=7 --dirty=+ 2>/dev/null && exit 0 +git --git-dir=.git describe --tags --always --abbrev=7 --dirty=+ 2>/dev/null && exit 0 echo unknown