From 57ca04911e4c851c2ec4bfe2547194db86d3dc2d Mon Sep 17 00:00:00 2001 From: mrhotio <26902309+mrhotio@users.noreply.github.com> Date: Fri, 9 Feb 2024 09:56:28 +0100 Subject: [PATCH] [skip ci] --- update-digests.sh | 3 +-- update-versions.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/update-digests.sh b/update-digests.sh index d66a62565..e0e22cd4e 100644 --- a/update-digests.sh +++ b/update-digests.sh @@ -1,9 +1,8 @@ #!/bin/bash -set -e json=$(cat VERSION.json) upstream_image=$(jq -re '.upstream_image' <<< "${json}") upstream_tag=$(jq -re '.upstream_tag' <<< "${json}") -manifest=$(skopeo inspect --raw "docker://${upstream_image}:${upstream_tag}") +manifest=$(skopeo inspect --raw "docker://${upstream_image}:${upstream_tag}") || exit 1 upstream_digest_amd64=$(jq -re '.manifests[] | select (.platform.architecture == "amd64" and .platform.os == "linux").digest' <<< "${manifest}") upstream_digest_arm64=$(jq -re '.manifests[] | select (.platform.architecture == "arm64" and .platform.os == "linux").digest' <<< "${manifest}") jq --sort-keys \ diff --git a/update-versions.sh b/update-versions.sh index 4444110f9..b859472f5 100644 --- a/update-versions.sh +++ b/update-versions.sh @@ -1,6 +1,5 @@ #!/bin/bash -set -e -version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://api.github.com/repos/morpheus65535/bazarr/releases/latest" | jq -re .tag_name) +version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://api.github.com/repos/morpheus65535/bazarr/releases/latest" | jq -re .tag_name) || exit 1 json=$(cat VERSION.json) jq --sort-keys \ --arg version "${version//v/}" \