|
31 | 31 | if: steps.tag_version.outputs.new_version
|
32 | 32 | run: |
|
33 | 33 | pip install bump2version
|
34 |
| - bump2version --new-version ${{ steps.tag_version.outputs.new_version }} setup.cfg |
| 34 | + bump2version --new-version ${{ steps.tag_version.outputs.new_version }} setup.cfg tutoraspects/__about__.py |
35 | 35 | - name: Update Changelog
|
36 | 36 | if: steps.tag_version.outputs.new_version
|
37 | 37 | uses: stefanzweifel/[email protected]
|
|
49 | 49 | commit-message: "chore: preparing release ${{ steps.tag_version.outputs.new_version }}"
|
50 | 50 | branch: "bot/v${{steps.tag_version.outputs.new_version}}"
|
51 | 51 | base: main
|
| 52 | + body: | |
| 53 | + Automated version bump for release ${{ steps.tag_version.outputs.new_version }}. |
| 54 | + |
| 55 | + This pull request was automatically generated. It includes the following changes: |
| 56 | + |
| 57 | + - Version: ${{ steps.tag_version.outputs.new_version }} |
| 58 | + - Previous version: ${{ steps.tag_version.outputs.previous_tag }} |
| 59 | + |
| 60 | + ${{ steps.tag_version.outputs.changelog }} |
| 61 | + |
| 62 | + No code changes are included in this pull request. The purpose of this PR is to trigger a version bump for the project. |
| 63 | + |
| 64 | + Once the pull request is merged, a new GitHub release will be created with the updated version. |
| 65 | + release: |
| 66 | + needs: bumpversion |
| 67 | + if: needs.bumpversion.outputs.version |
| 68 | + runs-on: ubuntu-latest |
| 69 | + outputs: |
| 70 | + tag: ${{ steps.tag_version.outputs.new_tag }} |
| 71 | + changelog: ${{ steps.tag_version.outputs.changelog }} |
| 72 | + steps: |
| 73 | + - uses: actions/checkout@v3 |
| 74 | + - name: Create tag |
| 75 | + id: tag_version |
| 76 | + uses: mathieudutour/[email protected] |
| 77 | + with: |
| 78 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
| 79 | + commit_sha: ${{ needs.bumpversion.outputs.bump_commit_sha }} |
| 80 | + default_bump: false |
| 81 | + default_prerelease_bump: false |
| 82 | + - name: Create a GitHub release |
| 83 | + if: steps.tag_version.outputs.new_tag |
| 84 | + uses: ncipollo/release-action@v1 |
| 85 | + with: |
| 86 | + tag: ${{ steps.tag_version.outputs.new_tag }} |
| 87 | + name: Release ${{ steps.tag_version.outputs.new_tag }} |
| 88 | + body: ${{ steps.tag_version.outputs.changelog }} |
0 commit comments