From db407c0ef5bfafc654226b0b33358113b1c40afe Mon Sep 17 00:00:00 2001 From: Aram Peres <6775216+aramperes@users.noreply.github.com> Date: Fri, 21 Jul 2023 23:29:25 -0400 Subject: [PATCH] Fix appVersion --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75aafdc..2ce1da7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,9 @@ jobs: - name: Update Helm chart version shell: bash - run: sed -i 's/0\.0\.0/${{ env.VERSION }}/g' helm/ts-activity/Chart.yaml + run: | + v="$(echo '${{ env.VERSION }}' | cut -d 'v' -f2)" + sed -i "s/0\.0\.0/$v/g" helm/ts-activity/Chart.yaml - name: Build and push Helm chart uses: goodsmileduck/helm-push-action@ec9f29cbf16a4773438b3ea98790aa5b5ca3e749