Skip to content

Commit ce667dc

Browse files
fix(ci): create rc releases as prerelease (#264)
1 parent 29daec3 commit ce667dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ jobs:
268268
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
269269
with:
270270
token: ${{ secrets.RELEASE_PAT || github.token }}
271-
prerelease: ${{ github.ref_type != 'tag' }}
271+
prerelease: ${{ github.ref_type != 'tag' || needs.meta.outputs.is-prerelease == 'true' }}
272272
draft: ${{ github.ref_type != 'tag' }}
273273
tag_name: ${{ needs.meta.outputs.next-release-tag }}
274274
generate_release_notes: false

0 commit comments

Comments
 (0)