Skip to content

Commit

Permalink
Merge pull request #375 from traPtitech/fix/publish
Browse files Browse the repository at this point in the history
🐛 fix publish command
  • Loading branch information
ras0q committed Jul 12, 2024
2 parents 5262518 + 94ea08f commit 8c92e87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ jobs:
git config user.name "GitHub Actions"
git config user.email "[email protected]"
npm version $NEW_VERSION --no-commit-hooks
git add package.json package-lock.json
git commit -m "CI: update to $NEW_VERSION [skip ci]" --author .
git push origin
npm version $NEW_VERSION -m "CI: update to $NEW_VERSION [ci skip]"
git commit --amend --no-edit --author .
git push origin master
git push --tags
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 8c92e87

Please sign in to comment.