Skip to content

Commit

Permalink
Added creation of GitHub release to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mpasson committed Feb 27, 2024
1 parent 59cebb9 commit a2c40f9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,11 @@ jobs:
run: |
python -m build
python -m twine upload dist/*
- name: Create GitHub release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git fetch --tags --force
git tag -l --format='%(contents:subject)' > release_notes.md
gh release create ${{ github.ref }} --title ${{ github.ref_name }} --notes-file release_notes.md
gh release upload ${{ github.ref }} dist/*

0 comments on commit a2c40f9

Please sign in to comment.