ci: twine check before upload, non-interactive

twine check validates the built artifacts' metadata (long_description
rendering, required fields) so a broken render hits CI logs instead of
landing on PyPI as a malformed project page.

--non-interactive guards against a wedged prompt hanging the pipeline
if the runner ever loses its ~/.pypirc auth.
This commit is contained in:
russell@unturf.com 2026-06-16 13:55:17 -04:00
parent a170a2637f
commit 5dca65f738
No known key found for this signature in database

View file

@ -21,4 +21,5 @@ pypi-twine:
- pip install --upgrade pip
- pip install twine
- python3 setup.py sdist bdist_wheel
- twine upload dist/*
- twine check dist/*
- twine upload --non-interactive dist/*