From 064d31ac1bdba611ca760c8b8fd4b1accfec4f62 Mon Sep 17 00:00:00 2001 From: morre Date: Wed, 4 Oct 2023 20:55:35 +0200 Subject: [PATCH] fix: helm version must be semver 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 --- .github/workflows/tags.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tags.yml b/.github/workflows/tags.yml index f374be7..53937ae 100644 --- a/.github/workflows/tags.yml +++ b/.github/workflows/tags.yml @@ -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