Skip to content

Commit

Permalink
fix: update release workflow to commit changes and remove tagging step
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppeambrosio97 committed Jan 10, 2025
1 parent c35d018 commit a43cac0
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,28 @@ jobs:
# Step 3: Fare commit della modifica
- name: Commit updated pyproject.toml
id: commit_step
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "[bot]: update version to ${{ steps.get_next_version.outputs.new_version }}"
file_pattern: pyproject.toml
- name: Tag version
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
dry_run: false
custom_tag: ${{ steps.get_next_version.outputs.new_tag }}
tag_prefix: ""
tagging_message: ${{ steps.get_next_version.outputs.new_tag }}
# - name: Tag version
# id: tag_version
# uses: mathieudutour/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# dry_run: false
# custom_tag: ${{ steps.get_next_version.outputs.new_tag }}
# tag_prefix: ""
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.get_next_version.outputs.new_tag }}
name: Release ${{ steps.get_next_version.outputs.new_tag }}
body: ${{ steps.get_next_version.outputs.changelog }}
generateReleaseNotes: true
commit: ${{ steps.commit_step.outputs.commit_sha }}

mkdocs:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit a43cac0

Please sign in to comment.