mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 07:41:17 +00:00
only cross-build the ziti CLI artifact; fix inverted conditional for background jobs
This commit is contained in:
@@ -39,7 +39,7 @@ for ARCH in ${JOBS[@]}; do
|
||||
-arch=${ARCH} \
|
||||
-output=${GOX_OUTPUT} \
|
||||
-parallel=${PROCS_PER_JOB} \
|
||||
./...
|
||||
./ziti/
|
||||
"
|
||||
case ${ARCH} in
|
||||
amd64) eval ${GOX_CMD} ${BACKGROUND}
|
||||
@@ -58,7 +58,7 @@ case ${ARCH} in
|
||||
done
|
||||
|
||||
# if not background in parallel then exit now with well earned success
|
||||
[[ -z "${BACKGROUND:-}" ]] || exit 0
|
||||
[[ -z "${BACKGROUND:-}" ]] && exit 0
|
||||
|
||||
# Wait for builds in the background and exit with an error if any fail
|
||||
EXIT=0
|
||||
|
||||
Reference in New Issue
Block a user