Skip to content

Commit

Permalink
chore: PyPI publish recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
ftnext committed Jan 25, 2025
1 parent 34e72fe commit d3a30bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ rstcheck:
distribute:
@pipx run build
@pipx run twine check dist/*

publish:
# Set PYPI_API_TOKEN before `make publish`
@test -n "${PYPI_API_TOKEN}"
@pipx run twine upload -u __token__ -p ${PYPI_API_TOKEN} dist/*

0 comments on commit d3a30bf

Please sign in to comment.