fix: fixed pipeline tagging

This commit is contained in:
2024-10-24 11:47:41 +02:00
parent aa44b9ebe9
commit 8740eafce2

View File

@@ -73,12 +73,7 @@ jobs:
- name: Create Tag
if: github.head_ref == 'master' || github.head_ref == 'dev'
run: |
if [ "${{ github.head_ref }}" == "master" ]; then
git tag ${{ steps.git_version.outputs.version }}
elif [ "${{ github.head_ref }}" == "dev" ]; then
git tag ${{ steps.git_version.outputs.version }}-rc
fi
run: git tag ${{ steps.git_version.outputs.version }}
- name: Push tag
run: git push origin ${{ steps.git_version.outputs.version }}