Skip to content

Commit b466cf0

Browse files
Update create-release.yml
1 parent 5c970a9 commit b466cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

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

0 commit comments

Comments
 (0)