From 3a149ba8f99ce25e5a2f66da9f74a71a28df3228 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 8 Jan 2025 10:34:39 +0100 Subject: [PATCH] Update hack/release-gen-download-section.sh Co-authored-by: Anoop C S --- hack/release-gen-download-section.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/release-gen-download-section.sh b/hack/release-gen-download-section.sh index 8f9549a..2fb6069 100755 --- a/hack/release-gen-download-section.sh +++ b/hack/release-gen-download-section.sh @@ -11,7 +11,7 @@ image_info() { curr_img="quay.io/samba.org/${1}:${2}" digest=$(sk_digest "${curr_img}") # strip preN from tag name - final_tag=${1//pre[0-9]*//} + final_tag=${2/%pre[0-9]*/} tag_img="quay.io/samba.org/${1}:${final_tag}" dst_img="quay.io/samba.org/${1}@${digest}"