⚙️ Compact Variants Logic into build-all.sh
This commit is contained in:
parent
e3120a715e
commit
36f79b3ffe
4 changed files with 61 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue