filter leading garbage from tags, only use version tags

This commit is contained in:
Enno Rehling 2016-09-10 18:59:24 +02:00
parent 3c630ee863
commit bf35b98927

View file

@ -42,7 +42,7 @@ fi
echo "build eressea"
cd $ROOT/$BUILD
VERSION=$(git describe --tags)
VERSION=$(git describe --match 'v*.*.*' --tags | sed 's/^v//')
cmake -DERESSEA_VERSION="$VERSION" ..
make $MAKEOPTS && make test
cd $OLDPWD