Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit ddb9281

Browse files
committed
feat(release): support prereleases with -rc format
1 parent 910f75a commit ddb9281

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,13 @@ jobs:
108108
pattern: release-*
109109
path: upload
110110

111-
- name: Publish release
111+
- name: Publish stable release
112112
uses: softprops/action-gh-release@v2
113113
with:
114114
draft: false
115115
body_path: docs/Release Notes/Release Notes/${{ github.ref_name }}.md
116116
fail_on_unmatched_files: true
117117
files: upload/*.*
118118
discussion_category_name: Announcements
119+
make_latest: ${{ !contains(github.ref, 'rc') }}
120+
prerelease: ${{ !contains(github.ref, 'rc') }}

0 commit comments

Comments
 (0)