forked from github/server
Merge branch 'master' into develop
This commit is contained in:
commit
9c6108f965
2
s/build
2
s/build
|
@ -35,7 +35,7 @@ cd $ROOT/$BUILD
|
||||||
BRANCH=$(git status -s -b | head -1 | cut -d\ -f 2 | sed 's/\..*//')
|
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//')
|
VERSION=$(git describe --match 'v*.*.*' --tags | sed 's/^v//')
|
||||||
echo "master $VERSION"
|
echo "$BRANCH $VERSION"
|
||||||
cmake -DERESSEA_VERSION="$VERSION" ..
|
cmake -DERESSEA_VERSION="$VERSION" ..
|
||||||
else
|
else
|
||||||
REV=$(git rev-parse --short HEAD)
|
REV=$(git rev-parse --short HEAD)
|
||||||
|
|
Loading…
Reference in New Issue