Skip to content

Commit

Permalink
fix: Use github action instead of doing commit manually (#7)
Browse files Browse the repository at this point in the history
Use github action instead of doing commit manually
  • Loading branch information
frangeris authored Oct 4, 2024
1 parent 8566be0 commit ae6f50b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ jobs:
- name: Update package.json
run: npm version ${{ env.VERSION }} --no-git-tag-version --allow-same-version

- name: Commit updated package.json
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git add package.json
git commit -m "bump: Upgrade version to ${{ env.VERSION }}"
git push origin HEAD
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "bump: Upgrade version to ${{ env.VERSION }}"

0 comments on commit ae6f50b

Please sign in to comment.