From c486773e7f0685f87e3b1d2ba45349d9dfdd63c8 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste DONNETTE Date: Fri, 18 Oct 2024 09:35:57 +0200 Subject: [PATCH] feat(actions): Automatic bump the version when doing a release --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 083cc65..22fe0b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,13 @@ jobs: - name: Update Dependencies run: helm dependency update . + - name: Update Chart Version + run: | + sed -i "s/^version:.*/version: ${{ github.event.inputs.tag }}/" Chart.yaml + git add Chart.yaml + git commit -m "Update chart version to ${{ github.event.inputs.tag }}" + git push origin main + - name: Run chart-releaser uses: helm/chart-releaser-action@v1.6.0 with: