Skip to content

Commit af9be1f

Browse files
fix(ci): disable pre-release for release prep branches
1 parent f7e80ec commit af9be1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ jobs:
496496
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1
497497
with:
498498
token: ${{ secrets.RELEASE_PAT || github.token }}
499-
prerelease: ${{ github.ref_type != 'tag' || needs.meta.outputs.is-prerelease == 'true' }}
499+
prerelease: ${{ needs.meta.outputs.is-prerelease == 'true' }}
500500
draft: ${{ github.ref_type != 'tag' }}
501501
tag_name: ${{ needs.meta.outputs.next-release-tag }}
502502
generate_release_notes: false

0 commit comments

Comments
 (0)