Skip to content

Commit

Permalink
fix: Update release.yml with commit functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyabareeva authored Nov 21, 2024
1 parent 2d5b61e commit 837be1e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,19 @@ jobs:
github_token: ${{ secrets.QUANDA_ADMIN }}
changelog: true
tag: true
commit: false

- name: Push changes to a new branch and create a PR
run: |
# Create a new branch from main
git checkout -b version-bump-${{ steps.release.outputs.version }}
# Add the changes made by semantic-release (version update and changelog)
git add pyproject.toml CHANGELOG.md
# Commit the changes (version bump and changelog update)
git commit -m "chore: bump version to ${{ steps.release.outputs.version }} and update changelog"
# Push changes to the new branch
git push origin version-bump-${{ steps.release.outputs.version }}
Expand Down

0 comments on commit 837be1e

Please sign in to comment.