Skip to content

Commit

Permalink
ci: use git directly
Browse files Browse the repository at this point in the history
Signed-off-by: rare-magma <[email protected]>
  • Loading branch information
rare-magma committed Jun 23, 2024
1 parent 2aba358 commit 4010a92
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ jobs:

- name: Update changelog & bump package.json
if: steps.semrel.outputs.version != ''
uses: EndBug/add-and-commit@v9
with:
add: '["CHANGELOG.md", "package.json"]'
author_name: github-actions[bot]
author_email: 41898282+github-actions[bot]@users.noreply.github.com
message: 'chore(release): ${{ steps.semrel.outputs.version }}'
run: |
git config user.name 'github-actions[bot]'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add CHANGELOG.md package.json
git commit -m "chore(release): ${{ steps.semrel.outputs.version }}"
git push https://${{ secrets.SEMANTIC_RELEASE_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git main

0 comments on commit 4010a92

Please sign in to comment.