From d152faec9a356321234cf562d967fcc1d82b9c37 Mon Sep 17 00:00:00 2001 From: Pascal Sthamer <10992664+P4sca1@users.noreply.github.com> Date: Mon, 24 Mar 2025 18:06:03 +0100 Subject: [PATCH] remove v prefix from app version too Signed-off-by: Pascal Sthamer <10992664+P4sca1@users.noreply.github.com> --- .github/workflows/helm-release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/helm-release.yml b/.github/workflows/helm-release.yml index b3851987..4c3c6b6f 100644 --- a/.github/workflows/helm-release.yml +++ b/.github/workflows/helm-release.yml @@ -35,9 +35,13 @@ jobs: - name: Set versions run: | if [[ ${{ github.event_name }} == 'release' ]]; then - VERSION="${{ github.event.release.tag_name }}" + TAG_NAME="${{ github.event.release.tag_name }}" + + # Remove the v prefix + VERSION=${TAG_NAME#v} + APP_VERSION="${VERSION}" - CHART_VERSION="${VERSION#v}" # Remove the v prefix + CHART_VERSION="${VERSION}" else APP_VERSION="nightly" CHART_VERSION="0.0.0-nightly-untagged-latest"