mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-10 10:26:39 +02:00
ci: handle the tag overwriting separately
This commit is contained in:
parent
114661d433
commit
45d49e9ce4
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
|
@ -29,12 +29,12 @@ jobs:
|
|||
- run: pnpm run prepublish
|
||||
env:
|
||||
TAG_NAME: ${{ github.ref_name }}
|
||||
- run: git tag -d ${{ github.ref_name }} # We need to delete the tag in order to overwrite it.
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: Release Version
|
||||
tagging_message: ${{ github.ref_name }}
|
||||
push_options: '--force'
|
||||
- run: git push origin :refs/tags/${{ github.ref_name }}
|
||||
- run: git tag -fa ${{ github.ref_name }}
|
||||
- run: git push origin --tags
|
||||
- run: pnpm -r publish --filter ./packages --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue