|
|
@ -135,15 +135,15 @@ if (( ${#file_links[@]} )); then |
|
|
|
echo "$links_json" > "${rclone_source_directory}/.rclone/links" |
|
|
|
jq -n "{ |
|
|
|
version: { |
|
|
|
$( echo -n "build:${BUILD_ID}" | jq -R .), |
|
|
|
build: $( echo -n "${BUILD_ID}" | jq -R .), |
|
|
|
digest: $( echo -n "sha256:$sha256" | jq -R . ), |
|
|
|
metadata: ${links_json} |
|
|
|
} |
|
|
|
}, |
|
|
|
metadata: ${links_json} |
|
|
|
}" >&3 |
|
|
|
else |
|
|
|
jq -n "{ |
|
|
|
version: { |
|
|
|
$( echo -n "build:${BUILD_ID}" | jq -R .), |
|
|
|
build: $( echo -n "${BUILD_ID}" | jq -R .), |
|
|
|
digest: $( echo -n "sha256:$sha256" | jq -R . ) |
|
|
|
} |
|
|
|
}" >&3 |