⚙️ Compact Variants Logic into build-all.sh

This commit is contained in:
Christian Mäder 2018-03-05 14:36:24 +01:00
parent e3120a715e
commit 36f79b3ffe
No known key found for this signature in database
GPG key ID: 92FFD0A711F196BB
4 changed files with 61 additions and 16 deletions

View file

@ -9,12 +9,7 @@ CURL="curl -sS"
BRANCHES=$($CURL "${URL_RELEASES}" | jq -r 'map(.name) | .[] | scan("^[^v].+")')
VARIANTS=( "ldap" )
for BRANCH in $BRANCHES; do
# shellcheck disable=SC2068
./build.sh "${BRANCH}" $@
for var in "${VARIANTS[@]}" ; do
VARIANT=$var ./build.sh "${BRANCH}" $@
done
done