Skip to content

Commit

Permalink
Generate GitHub release at the end
Browse files Browse the repository at this point in the history
Signed-off-by: Zelin Hao <[email protected]>
  • Loading branch information
zelinh committed Nov 22, 2023
1 parent cb1bf49 commit 6eabe21
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ jobs:
- name: Build project for distribution
run: |
python -m build
tar -zvcf artifacts.tar.gz dist
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
generate_release_notes: true
files: |
artifacts.tar.gz
- name: upload windows dists
uses: actions/upload-artifact@v3
with:
Expand All @@ -52,11 +44,21 @@ jobs:
- draft-a-release
permissions:
id-token: write
contents: write
steps:
- name: Retrieve release distributions
uses: actions/download-artifact@v3
with:
name: release-dists
path: dist
- name: Generate the artifacts
run: |
tar -zvcf artifacts.tar.gz dist
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: |
artifacts.tar.gz

0 comments on commit 6eabe21

Please sign in to comment.