Skip to content

Commit

Permalink
fix release command (#2163) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian authored Dec 9, 2024
1 parent 34d3c8d commit 9001859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create "$GITHUB_REF_NAME" # GITHUB_REF_NAME is the tag name in `on.push.tags` workflows
run: gh release create ${GITHUB_REF#refs/tags/}
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9001859

Please sign in to comment.