From c91e684f08fda31e34f579d3ff5e60462166909c Mon Sep 17 00:00:00 2001 From: Conrad Date: Thu, 24 Oct 2024 12:03:37 +0200 Subject: [PATCH] fix: fix attempt for the github pipeline --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a3ed56..4439a0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,11 +74,11 @@ jobs: release-branch: ${{ github.head_ref }} - name: Create Tag - if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' + if: github.head_ref == 'master' || github.head_ref == 'dev' run: | - if [ "${{ github.ref }}" == "refs/heads/master" ]; then + if [ "${{ github.head_ref }}" == "master" ]; then git tag ${{ steps.git_version.outputs.version }} - elif [ "${{ github.ref }}" == "refs/heads/dev" ]; then + elif [ "${{ github.head_ref }}" == "dev" ]; then git tag ${{ steps.git_version.outputs.version }}-rc fi