mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
This commit is contained in:
commit
a354325817
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue