From 05105e18a7ba22616facc3ada4f7acd5576bb559 Mon Sep 17 00:00:00 2001 From: Jonathan Innis Date: Fri, 23 Feb 2024 18:05:19 -0800 Subject: [PATCH] Small script misses --- hack/release/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hack/release/common.sh b/hack/release/common.sh index 7c1644a39e3d..5922ff3224f7 100644 --- a/hack/release/common.sh +++ b/hack/release/common.sh @@ -88,7 +88,7 @@ publishHelmChart() { commit_sha="${4}" build_date="${5}" - ah_config_file_name"${helm_chart}/artifacthub-repo.yaml" + ah_config_file_name="${helm_chart}/artifacthub-repo.yaml" helm_chart_artifact="${helm_chart}-${version}.tgz" yq e -i ".appVersion = \"${version}\"" "charts/${helm_chart}/Chart.yaml" @@ -103,8 +103,8 @@ publishHelmChart() { rm "${helm_chart_artifact}" cd .. - helm_chart_digest="$(crane digest "${oci_repo}:${version}")" - cosignOciArtifact "${version}" "${commit_sha}" "${build_date}" "${oci_repo}:${version}@${helm_chart_digest}" + helm_chart_digest="$(crane digest "${oci_repo}/${helm_chart}:${version}")" + cosignOciArtifact "${version}" "${commit_sha}" "${build_date}" "${oci_repo}/${helm_chart}:${version}@${helm_chart_digest}" } cosignOciArtifact() {