mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-27 02:14:14 +01:00
🐞 Fix building all branches
This commit is contained in:
parent
6945157e86
commit
4bd5f0903f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user