1
0
Fork 0

Merge branch 'devel' of https://github.com/arangodb/arangodb into devel

This commit is contained in:
jsteemann 2015-12-03 23:27:08 +01:00
commit a354325817
1 changed files with 11 additions and 13 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
TAG=1
@ -14,9 +15,7 @@ fi
VERSION="$1"
git tag | grep -q "^v$VERSION$"
if [ "$?" == 0 ]; then
if git tag | grep -q "^v$VERSION$"; then
echo "$0: version $VERSION already defined"
exit 1
fi
@ -32,23 +31,22 @@ echo "$VERSION" > VERSION
cat configure.ac \
| sed -e 's~AC_INIT(\[\(.*\)\], \[.*\..*\..*\], \[\(.*\)\], \[\(.*\)\], \[\(.*\)\])~AC_INIT([\1], ['$VERSION'], [\2], [\3], [\4\])~' \
> configure.ac.tmp \
|| exit 1
> configure.ac.tmp
mv configure.ac.tmp configure.ac
./configure --enable-maintainer-mode || exit 1
make built-sources || exit 1
make add-maintainer || exit 1
make add-automagic || exit 1
./configure --enable-maintainer-mode CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
make built-sources
make add-maintainer
make add-automagic
make || exit 1
make examples || exit 1
make swagger || exit 1
make
make examples
make swagger
git add -f Documentation/Examples/*.generated
cd Documentation/Books; make ||exit 1
cd Documentation/Books; make
case "$TAG" in
*-alpha*|*-beta*|devel)