Skip to content

Commit

Permalink
github: Use GH CLI for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfonseca committed Jun 5, 2024
1 parent b2a039f commit 26dd301
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,8 @@ jobs:
python -m build
twine check --strict dist/*
twine upload dist/*
if: false #XXX
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create --title ${{ github.ref }} ${{ github.ref }}

0 comments on commit 26dd301

Please sign in to comment.