fix: fix attempt for the github pipeline

This commit is contained in:
2024-10-24 12:03:37 +02:00
parent f11b8b8864
commit c91e684f08

View File

@@ -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