diff --git a/build/scripts/create_release.sh b/build/scripts/create_release.sh index 312e739..2ce39f8 100644 --- a/build/scripts/create_release.sh +++ b/build/scripts/create_release.sh @@ -47,7 +47,12 @@ fi python3 "${LOCAL_ARGS[@]}" > "$LOCAL_DATA_OUTPUT" -mapfile -t ARTIFACTS < <(python3 - "$LOCAL_DATA_OUTPUT" "$LOCAL_MANIFEST_OUTPUT" <<'PY' +ARTIFACTS=() +while IFS= read -r artifact; do + if [ -n "$artifact" ]; then + ARTIFACTS+=("$artifact") + fi +done < <(python3 - "$LOCAL_DATA_OUTPUT" "$LOCAL_MANIFEST_OUTPUT" <<'PY' import json import sys from pathlib import Path