ci: removing the tag removes the release so we cant do that

This commit is contained in:
Sam Marks 2022-03-10 15:52:31 -05:00
parent 13c78476d9
commit 1c4f644eb9

View file

@ -33,9 +33,9 @@ jobs:
with:
commit_message: Release Version ${{ github.ref_name }}
branch: master
- run: git push origin :refs/tags/${{ github.ref_name }}
- run: git -c user.email="actions@github.com" -c user.name="GitHub Actions" tag -fa ${{ github.ref_name }} -m "${{ github.ref_name }}"
- run: git push origin --tags
- run: git push -f origin ${{ github.ref_name }}
- run: git checkout master
- run: pnpm -r publish --filter ./packages --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}