From 394265dbe5b2bd0b8a267b4a05dbe64e5a7ea4b4 Mon Sep 17 00:00:00 2001 From: Matlavv Date: Tue, 19 Nov 2024 14:47:16 +0100 Subject: [PATCH] Try to update helm versionning --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd248f6..7aac772 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,8 @@ jobs: git config --global user.email 'github-actions@github.com' git add ${{ env.CHART_PATH }}/Chart.yaml git commit -m "Update Helm chart version to ${{ steps.set_output.outputs.new_version }}" - git push origin HEAD:${{ github.head_ref }} # Push changes to the current branch + current_branch=$(git rev-parse --abbrev-ref HEAD) + git push origin $current_branch # Push changes to the current branch - name: Create and push new tag run: |