Skip to content

Commit

Permalink
Configure github action bot as author
Browse files Browse the repository at this point in the history
  • Loading branch information
Garulf committed Nov 25, 2023
1 parent aed2d9a commit 9fdd83b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/on_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
run: |
tag_name=$(echo "${{ github.event.release.tag_name }}" | sed 's/^v//')
sed -i "s/version = .*/version = '${tag_name}'/" pyproject.toml
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git add pyproject.toml
git commit -m "Update version to ${tag_name}"
git push

0 comments on commit 9fdd83b

Please sign in to comment.