Skip to content

Commit

Permalink
Merge pull request #165 from fosslight/action
Browse files Browse the repository at this point in the history
Fix the github action issue
  • Loading branch information
dd-jy authored Oct 8, 2024
2 parents ee8f8ce + 2a1acf7 commit 1479e27
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
echo Last version: ${last_version}
new_version=$(echo ${NEW_TAG//v/""})
echo New version: ${new_version}
git config --local user.name "github-actions[bot]"
git config --global user.name "github-actions[bot]"
git config --global user.email "[email protected]"
bumpversion --current-version $last_version --new-version $new_version setup.py
- name: update changelog with gren
env:
Expand All @@ -41,7 +42,8 @@ jobs:
node_modules/.bin/gren changelog --override
- name: Commit files
run: |
git config --local user.name "github-actions[bot]"
git config --global user.name "github-actions[bot]"
git config --global user.email "[email protected]"
git add CHANGELOG.md
git commit -m "Update ChangeLog"
- name: Push changes
Expand Down

0 comments on commit 1479e27

Please sign in to comment.