Skip to content

Commit dca2977

Browse files
committed
Refactor GitHub release process in PyPi workflow 🔄
Switched from `actions/create-release@v1` to `ncipollo/release-action@v1` for creating GitHub releases. This change simplifies the release process and automatically generates release notes.
1 parent 289fb10 commit dca2977

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/pypi_release.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,7 @@ jobs:
7474
twine check dist/*
7575
twine upload dist/*
7676
77-
- name: Create Github Release
78-
id: create_release
79-
uses: actions/create-release@v1
80-
env:
81-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77+
- name: Create GitHub Release
78+
uses: ncipollo/release-action@v1
8279
with:
83-
tag_name: ${{ github.ref }}
84-
release_name: Release ${{ github.ref }}
85-
draft: false
86-
prerelease: false
80+
generateReleaseNotes: true

0 commit comments

Comments
 (0)