From e5302be40943b08ed6071f45daf33853478c74df Mon Sep 17 00:00:00 2001 From: Drew Short Date: Fri, 24 Jan 2020 16:34:40 -0600 Subject: [PATCH] Remove metadata from build --- assets/out | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) 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