Skip to content

Commit

Permalink
Chore: GitHub release after PyPI release (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman authored Oct 15, 2024
2 parents 085dcb3 + 1264bca commit 50c461e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@ jobs:
- name: Build package
run: python -m build

- name: Release
id: release
uses: softprops/action-gh-release@v2
with:
files: |
./dist/*.whl
./dist/*.tar.gz
prerelease: ${{ contains(github.ref, '-pre') }}
generate_release_notes: ${{ !contains(github.ref, '-pre') }}

- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: ${{ contains(github.ref, '-pre') }}
Expand All @@ -60,3 +50,13 @@ jobs:
if: ${{ !contains(github.ref, '-pre') }}
with:
print-hash: true

- name: Release
id: release
uses: softprops/action-gh-release@v2
with:
files: |
./dist/*.whl
./dist/*.tar.gz
prerelease: ${{ contains(github.ref, '-pre') }}
generate_release_notes: ${{ !contains(github.ref, '-pre') }}

0 comments on commit 50c461e

Please # to comment.