forked from github/server
build script madness, again
This commit is contained in:
parent
9c6108f965
commit
7f9c85384a
2
s/build
2
s/build
|
@ -33,7 +33,7 @@ fi
|
|||
echo "build eressea"
|
||||
cd $ROOT/$BUILD
|
||||
BRANCH=$(git status -s -b | head -1 | cut -d\ -f 2 | sed 's/\..*//')
|
||||
if [ "$BRANCH"=="master" ] ; then
|
||||
if [ "$BRANCH" = "master" ] ; then
|
||||
VERSION=$(git describe --match 'v*.*.*' --tags | sed 's/^v//')
|
||||
echo "$BRANCH $VERSION"
|
||||
cmake -DERESSEA_VERSION="$VERSION" ..
|
||||
|
|
Loading…
Reference in New Issue