Fixed release publishing happening outside tag push

This commit is contained in:
Donkie
2024-01-25 20:21:42 +01:00
parent 52cdb01110
commit 2786eff3da

View File

@@ -359,7 +359,7 @@ jobs:
# Create Github Release if CI was triggered by a tag
#
publish-release:
if: ${{ github.event_name != 'pull_request' }} && startsWith(github.event.ref, 'refs/tags/v')
if: ${{ (github.event_name != 'pull_request') && startsWith(github.event.ref, 'refs/tags/v') }}
needs: [publish-images]
runs-on: ubuntu-latest
steps: