Skip to content

Commit

Permalink
docs(changeset): workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
WoLfulus committed Mar 17, 2024
1 parent 14ac28c commit e1274fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/good-rats-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"io.linefusion.unity": patch
"io.linefusion.unity.generator": patch
---

workflow
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@ jobs:
- name: Tag and publish
if: steps.current_version.outputs.value != steps.previous_version.outputs.value
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
CURRENT_VERSION: ${{ steps.current_version.outputs.value}}
run: |
git config --global user.name "Black Rabbit"
git config --global user.email "[email protected]"
git tag -a v${CURRENT_VERSION} -m "v${CURRENT_VERSION}"
git push origin v${CURRENT_VERSION}
pnpm config set //registry.npmjs.org/:_authToken "${NPM_TOKEN}"
npm config set //registry.npmjs.org/:_authToken "${NPM_TOKEN}"
pnpm publish -r --no-git-checks

0 comments on commit e1274fe

Please sign in to comment.