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
(
[ "$PREVIEW" != "yes" ] && exit
[ -z ${ERESSEA} ] && ERESSEA=$HOME/eressea
[ -z "${ERESSEA}" ] && ERESSEA="$HOME/eressea"
branch="develop"
if [ -e ${ERESSEA}/build/.preview ]; then
branch=`cat ${ERESSEA}/build/.preview`
if [ -e "${ERESSEA}/build/.preview" ]; then
branch=$(cat "${ERESSEA}/build/.preview")
fi
SRC=${ERESSEA}/git
${SRC}/s/preview build ${branch} || exit $?
for game in 2 3 4 ; do
${SRC}/s/preview -g ${game} run && \
${SRC}/s/preview -g ${game} send
SRC="${ERESSEA}/git"
"${SRC}/s/preview" build "$branch" || exit $?
for game in "$@" ; do
"${SRC}/s/preview" -g "$game" run && \
"${SRC}/s/preview" -g "$game" send
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
../../coverity/bin/cov-build --dir cov-int make eressea
tar czf eressea.tgz cov-int
curl --form token=IISXKH3A1ngZGfFmBz_aSA \
curl -k --form token=IISXKH3A1ngZGfFmBz_aSA \
--form email=enno.rehling@gmail.com \
--form file=@eressea.tgz \
--form version="$VERSION" \