Skip to content

Commit

Permalink
fix: helm version must be semver
Browse files Browse the repository at this point in the history
As noted in https://helm.sh/docs/topics/charts/#the-chartyaml-file, a helm chart's version must be semver 2.0.0.

Since semver 2.0.0 strictly prescribes the "{major}.{minor}.{patch}" format, the shell string interpolation is used to remove the `v` prefix
  • Loading branch information
morremeyer authored and bokysan committed Oct 27, 2023
1 parent 4d7d071 commit 064d31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ jobs:
- name: Package helm chart
uses: WyriHaximus/github-action-helm3@v3
with:
exec: helm package --app-version $RELEASE_VERSION --version $RELEASE_VERSION --destination ./gh-pages helm/mail
exec: helm package --app-version $RELEASE_VERSION --version "${RELEASE_VERSION#v}" --destination ./gh-pages helm/mail

- name: Create helm chart index
uses: WyriHaximus/github-action-helm3@v3
Expand Down

0 comments on commit 064d31a

Please sign in to comment.