Skip to content

Commit

Permalink
Merge pull request #128 from marquiz/devel/github-helm
Browse files Browse the repository at this point in the history
github: set chart version when packaging Helm charts
  • Loading branch information
fmuyassarov authored Oct 10, 2023
2 parents b5ebb2e + c1112e3 commit 1687298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/package-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Package Helm charts
run: |
helm package "$CHARTS_DIR"/*
helm package --version "$GITHUB_REF_NAME" --app-version "$GITHUB_REF_NAME" "$CHARTS_DIR"/*
find . -name '*.tgz' -print | while read SRC_FILE; do
DEST_FILE=$(echo $SRC_FILE | sed 's/v/helm-chart-v/g')
mv $SRC_FILE $DEST_FILE
Expand Down

0 comments on commit 1687298

Please sign in to comment.