Run tags publish only after changesets publish
This commit is contained in:
parent
5b7f3cf539
commit
5b5e6821be
1 changed files with 1 additions and 0 deletions
1
.github/workflows/prepare-release.yml
vendored
1
.github/workflows/prepare-release.yml
vendored
|
@ -43,4 +43,5 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
- name: Push tags
|
- name: Push tags
|
||||||
|
if: steps.changesets.outputs.published == 'true'
|
||||||
run: npx changeset tag && git push --follow-tags
|
run: npx changeset tag && git push --follow-tags
|
Loading…
Reference in a new issue