🐞 Fix building all branches

This commit is contained in:
Christian Mäder 2018-04-06 11:15:39 +02:00
parent 6945157e86
commit 4bd5f0903f
No known key found for this signature in database
GPG Key ID: 92FFD0A711F196BB

View File

@ -9,8 +9,10 @@ CURL="curl -sS"
BRANCHES=$($CURL "${URL_RELEASES}" | jq -r 'map(.name) | .[] | scan("^[^v].+")')
ERROR=0
for BRANCH in $BRANCHES; do
# shellcheck disable=SC2068
./build.sh "${BRANCH}" $@
exit $?
./build.sh "${BRANCH}" $@ || ERROR=1
done
exit $ERROR