additional artifacts added during the staging process are stored in spacefx-config.json extraBuildArtifacts.
However, stage_build_artifact.sh does not correctly query the extra build artifacts:
|
run_a_script "jq -r '.config.extraArtifacts // empty | map(select(.file == \"${fileName}\")) | if length > 0 then .[0] | @base64 else \"\" end' ${SPACEFX_DIR}/tmp/config/spacefx-config.json" build_artifact --disable_log --ignore_error |