Merge branch 'master' of github.com:ennorehling/eressea

This commit is contained in:
Enno Rehling 2019-04-30 19:00:33 +02:00
commit ab58dd6e3a
2 changed files with 10 additions and 10 deletions

View File

@ -1,17 +1,17 @@
#!/bin/bash #!/bin/bash
( (
[ "$PREVIEW" != "yes" ] && exit [ "$PREVIEW" != "yes" ] && exit
[ -z ${ERESSEA} ] && ERESSEA=$HOME/eressea [ -z "${ERESSEA}" ] && ERESSEA="$HOME/eressea"
branch="develop" branch="develop"
if [ -e ${ERESSEA}/build/.preview ]; then if [ -e "${ERESSEA}/build/.preview" ]; then
branch=`cat ${ERESSEA}/build/.preview` branch=$(cat "${ERESSEA}/build/.preview")
fi fi
SRC=${ERESSEA}/git SRC="${ERESSEA}/git"
${SRC}/s/preview build ${branch} || exit $? "${SRC}/s/preview" build "$branch" || exit $?
for game in 2 3 4 ; do for game in "$@" ; do
${SRC}/s/preview -g ${game} run && \ "${SRC}/s/preview" -g "$game" run && \
${SRC}/s/preview -g ${game} send "${SRC}/s/preview" -g "$game" send
done done
) | tee -a $HOME/log/preview.cron.log ) | tee -a "$HOME/log/preview.cron.log"

View File

@ -6,7 +6,7 @@ cd Debug
make clean make clean
../../coverity/bin/cov-build --dir cov-int make eressea ../../coverity/bin/cov-build --dir cov-int make eressea
tar czf eressea.tgz cov-int tar czf eressea.tgz cov-int
curl --form token=IISXKH3A1ngZGfFmBz_aSA \ curl -k --form token=IISXKH3A1ngZGfFmBz_aSA \
--form email=enno.rehling@gmail.com \ --form email=enno.rehling@gmail.com \
--form file=@eressea.tgz \ --form file=@eressea.tgz \
--form version="$VERSION" \ --form version="$VERSION" \