Skip to content

Commit 5c88b7c

Browse files
authored
feat(ci): support pre release on rc or alpha (#3968)
2 parents bb19437 + 7593f72 commit 5c88b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ jobs:
328328
- uses: softprops/action-gh-release@v2
329329
with:
330330
body_path: release.md
331-
prerelease: false
331+
prerelease: ${{ contains(${{needs.eval-tag.outputs.version}}, '-rc') || contains(${{needs.eval-tag.outputs.version}}, 'alpha') }}
332332
repository: unionlabs/union
333333
token: ${{ secrets.UNION_RELEASES_PAT }}
334334
name: ${{needs.eval-tag.outputs.component}} ${{needs.eval-tag.outputs.version}}

0 commit comments

Comments
 (0)