forked from github/server
filter leading garbage from tags, only use version tags
This commit is contained in:
parent
3c630ee863
commit
bf35b98927
1 changed files with 1 additions and 1 deletions
2
s/build
2
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
|
||||
|
|
Loading…
Reference in a new issue