Skip to content

Commit

Permalink
Fix if statement secondbounce#2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgeary committed Aug 15, 2024
1 parent e5f3220 commit 0a23f73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Create draft Github pre-release for ${{ steps.get-version.outputs.version }} (${{ env.IS_PRERELEASE }})
# TODO: replace with ${{ env.IS_PRERELEASE }}
# if: (startsWith(github.ref, 'refs/tags/build#') && contains(github.ref, '-')) || !startsWith(github.ref, 'refs/tags/build#')
if: ${{ env.IS_PRERELEASE }}
if: env.IS_PRERELEASE
uses: softprops/action-gh-release@v2
with:
name: ${{ steps.get-version.outputs.version }}
Expand All @@ -94,7 +94,7 @@ jobs:
- name: Create draft Github release for ${{ steps.get-version.outputs.version }} (!${{ env.IS_PRERELEASE }})
# TODO: replace with !${{ env.IS_PRERELEASE }}
# if: startsWith(github.ref, 'refs/tags/build#') && !contains(github.ref, '-')
if: ${{ !env.IS_PRERELEASE }}
if: ${{ ! env.IS_PRERELEASE }}
uses: softprops/action-gh-release@v2
with:
name: ${{ steps.get-version.outputs.version }}
Expand Down

0 comments on commit 0a23f73

Please sign in to comment.