From 5da31168132a0222967991e0a2a92da2f129bcee Mon Sep 17 00:00:00 2001 From: Marcel Schramm Date: Fri, 12 Apr 2024 15:29:56 +0200 Subject: [PATCH] Fix prerelease builds --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 17a7028..73bffe4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - name: Create pre-release uses: softprops/action-gh-release@v1 - if: ${{ endsWith(github.ref, 'pre') }} + if: ${{ contains(github.ref, 'pre') }} with: name: ${{ github.event.workflow_run.head_branch }} tag_name: ${{ github.event.workflow_run.head_branch }} @@ -33,7 +33,7 @@ jobs: - name: Create release uses: softprops/action-gh-release@v1 - if: ${{ ! endsWith(github.ref, 'pre') }} + if: ${{ ! contains(github.ref, 'pre') }} with: name: ${{ github.event.workflow_run.head_branch }} tag_name: ${{ github.event.workflow_run.head_branch }}