Skip to content

Commit 6881b2f

Browse files
committed
allow rc release [skip ci]
1 parent 608706f commit 6881b2f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.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)