Skip to content

Commit

Permalink
fix release github action
Browse files Browse the repository at this point in the history
  • Loading branch information
cr7258 committed Jan 18, 2025
1 parent 2ef14ae commit 48f982d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -41,6 +42,14 @@ jobs:
tomli_w.dump(data, f)
'
- name: Commit and push updated version
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add pyproject.toml
git commit -m "chore: update version to ${{ env.VERSION }}"
git push
- name: Generate changelog
run: |
git-cliff --output CHANGELOG.md
Expand Down

0 comments on commit 48f982d

Please sign in to comment.