更新npm-release.yml

This commit is contained in:
chenzhipei 2024-04-16 20:08:09 +08:00
parent 33c338a93b
commit b9a28d3a2e

View File

@ -183,7 +183,7 @@ jobs:
git config user.name github-actions
git config user.email github-actions@github.com
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
yarn lerna publish ${{ steps.branch-name.outputs.tag }} --no-git-tag-version --no-git-reset --force-publish --exact --yes --dist-tag 2.6
yarn lerna publish ${{ steps.branch-name.outputs.tag }} --no-git-tag-version --no-git-reset --force-publish --exact --yes
git add .
git commit -m "action: release ${{ steps.branch-name.outputs.tag }}"
git push