diff --git a/s/build b/s/build index 611234dc0..178fa4f43 100755 --- a/s/build +++ b/s/build @@ -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