forked from github/server
shell wants spaces around = for string compares?
This commit is contained in:
parent
3682fb472e
commit
1eb189cf47
1 changed files with 1 additions and 0 deletions
1
s/build
1
s/build
|
@ -35,6 +35,7 @@ cd $ROOT/$BUILD
|
|||
BRANCH=$(git status -s -b | head -1 | cut -d\ -f 2 | sed 's/\..*//')
|
||||
if [ "$BRANCH" = "master" ] ; then
|
||||
VERSION=$(git describe --match 'v*.*.*' --tags | sed 's/^v//')
|
||||
echo "$BRANCH $VERSION"
|
||||
cmake -DERESSEA_VERSION="$VERSION" ..
|
||||
else
|
||||
REV=$(git rev-parse --short HEAD)
|
||||
|
|
Loading…
Reference in a new issue