We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6259cf0 commit aa89fb4Copy full SHA for aa89fb4
.github/workflows/publish.yml
@@ -9,7 +9,15 @@ jobs:
9
steps:
10
- uses: actions/checkout@v4
11
- uses: ./.github/actions/setup
12
+ - name: Set version to release tag 📝
13
+ run: pnpm version from-git --no-commit-hooks --no-git-tag-version --allow-same-version
14
- name: Publish to NPM
15
run: pnpm publish --access public --no-git-checks
16
env:
17
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
18
+ - name: Push version changes to main branch
19
+ uses: stefanzweifel/git-auto-commit-action@v5
20
+ with:
21
+ commit_message: "chore: release ${{ github.event.release.tag_name }}"
22
+ branch: ${{ github.event.repository.default_branch }}
23
+ file_pattern: package.json
0 commit comments