Skip to content

Commit

Permalink
set git config before bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
Sysix committed Jun 16, 2024
1 parent 4eefc94 commit 800d57e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ jobs:

- name: bump version
run: |
npm version ${{ github.ref_name }}
git config --global user.name '${{ github.repository_owner }}'
git config --global user.email '${{ github.repository_owner }}@users.noreply.github.com'
npm version ${{ github.ref_name }}
- name: push to main
run: |
git commit -am "bump version to ${{ github.ref_name }}"
git push
- name: release
run: npm publish --provenance --access public
Expand Down

0 comments on commit 800d57e

Please sign in to comment.