Skip to content

Commit 1cc846e

Browse files
committed
ci: allow to publish only when next & rc is not set
1 parent 65eb614 commit 1cc846e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ jobs:
6969
run: npm publish --tag rc
7070

7171
- name: Publish atomic-router-react@${{ steps.version.outputs.tag }} to latest
72-
if: ${{ steps.next.outputs.match == '' }}
72+
if: ${{ steps.next.outputs.match == '' && steps.rc.outputs.match == '' }}
7373
run: npm publish

0 commit comments

Comments
 (0)