Skip to content

Commit

Permalink
Use gh releases (#282)
Browse files Browse the repository at this point in the history
auto-create github releases for tagged commits pushed to main
  • Loading branch information
2bndy5 committed Oct 5, 2023
1 parent a805d83 commit ca61676
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,3 +275,8 @@ jobs:
user: __token__
password: ${{ secrets.pypi_token }}
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
- uses: actions/checkout@v3
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
- name: Create a Github Release
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: gh release create ${{ github.ref_name }} --generate-notes

0 comments on commit ca61676

Please sign in to comment.