diff --git a/buildcore.sh b/buildcore.sh index abd9ba6a2..4bf65139e 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -195,7 +195,7 @@ fi function setversionvars { if [ ! -z "$USEGITVER" ]; then - VER=`git describe` + VER=`git describe --tags` VER=${VER/-/.post} VER=${VER/-/.} else