Skip to content

Commit 7593f72

Browse files
committed
feat(ci): support pre release on rc or alpha
1 parent bb19437 commit 7593f72

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)