Skip to content

Commit

Permalink
Fix make-helm-chart.sh (#1427)
Browse files Browse the repository at this point in the history
  • Loading branch information
NimJay committed Dec 22, 2022
1 parent 89eb4bc commit d86c02f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hack/make-helm-chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ TAG="${TAG:?TAG env variable must be specified}"
HELM_CHART_REPO="us-docker.pkg.dev/online-boutique-ci/charts"

cd helm-chart
sed -i "s/^appVersion:.*/appVersion: \"${TAG}\"/" Chart.yaml
sed -i "s/^version:.*/version: ${TAG:1}/" Chart.yaml
gsed -i "s/^appVersion:.*/appVersion: \"${TAG}\"/" Chart.yaml
gsed -i "s/^version:.*/version: ${TAG:1}/" Chart.yaml
helm package .
helm push onlineboutique-$TAG.tgz oci://$HELM_CHART_REPO
helm push onlineboutique-${TAG:1}.tgz oci://$HELM_CHART_REPO

log "Successfully built and pushed the Helm chart."

0 comments on commit d86c02f

Please sign in to comment.