From 1264bca347e33769ee744c1935ebbcfa856c72f4 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Tue, 15 Oct 2024 16:01:51 +0000 Subject: [PATCH] chore(ci): GitHub release after PyPI release --- .github/workflows/release.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c17b8a4..5267855 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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') }} @@ -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') }}