From d3a30bf7f291dbffe5caf22a1470b3b6d274ad60 Mon Sep 17 00:00:00 2001 From: nikkie Date: Sat, 25 Jan 2025 12:33:35 +0000 Subject: [PATCH] chore: PyPI publish recipe --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 14754381..93cef8fd 100644 --- a/Makefile +++ b/Makefile @@ -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/*