diff --git a/assets/out b/assets/out index a95b2f9..fe3ea38 100644 --- a/assets/out +++ b/assets/out @@ -133,18 +133,11 @@ if (( ${#file_links[@]} )); then echo "Links: ${links_json}" mkdir -p "${rclone_source_directory}/.rclone" echo "$links_json" > "${rclone_source_directory}/.rclone/links" - jq -n "{ - version: { - build: $( echo -n "${BUILD_ID}" | jq -R .), - digest: $( echo -n "sha256:$sha256" | jq -R . ), - }, - metadata: ${links_json} - }" >&3 -else - jq -n "{ - version: { - build: $( echo -n "${BUILD_ID}" | jq -R .), - digest: $( echo -n "sha256:$sha256" | jq -R . ) - } - }" >&3 -fi \ No newline at end of file +fi + +jq -n "{ + version: { + build: $( echo -n "${BUILD_ID}" | jq -R .), + digest: $( echo -n "sha256:$sha256" | jq -R . ) + } +}" >&3 \ No newline at end of file