Skip to content

Commit e210a70

Browse files
committed
support rc release tag
1 parent 134e8d2 commit e210a70

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ jobs:
2323
- name: Update npm
2424
run: npm install -g npm@latest
2525
- run: npm i
26-
- run: npm publish
26+
- run: npm publish $VERSION_TAG
27+
env:
28+
VERSION_TAG: ${{ endsWith(github.ref_name, '-rc') && '--tag rc' || '' }}

0 commit comments

Comments
 (0)