Skip to content

Commit

Permalink
Fix main create release GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
MattEdwardsWaggleBee committed Jul 2, 2024
1 parent f645e59 commit cbe580f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Check For Valid Prerelease
if: ${{ env.ALLOW_PRERELEASE == 'true' && github.event.inputs.is_prerelease == 'false' || github.ref == 'refs/heads/main'}}
if: ${{ ( env.ALLOW_PRERELEASE == 'true' && github.event.inputs.is_prerelease == 'false' ) || ( github.ref == 'refs/heads/main' && github.event.inputs.is_prerelease == 'true' ) }}
run: |
echo "Prereleases should not be triggered on the main branch, please use development or hotfix"
exit 1
Expand Down

0 comments on commit cbe580f

Please sign in to comment.