forked from github/server
Merge branch 'master' into develop
This commit is contained in:
commit
1e3abb3df6
1 changed files with 2 additions and 1 deletions
3
s/build
3
s/build
|
@ -33,8 +33,9 @@ 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 "master $VERSION"
|
||||
cmake -DERESSEA_VERSION="$VERSION" ..
|
||||
else
|
||||
REV=$(git rev-parse --short HEAD)
|
||||
|
|
Loading…
Reference in a new issue