Skip to content

Commit

Permalink
Small script misses
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis committed Feb 24, 2024
1 parent f343580 commit 05105e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hack/release/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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() {
Expand Down

0 comments on commit 05105e1

Please sign in to comment.