Skip to content

Commit

Permalink
Fix prerelease builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Bios-Marcel committed Apr 12, 2024
1 parent cc6559c commit c4a617c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit c4a617c

Please sign in to comment.