ci: twine check before pypi 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.
This commit is contained in:
russell@unturf.com 2026-06-16 13:55:25 -04:00
parent eae627e065
commit cd11eefb38
No known key found for this signature in database

View file

@ -67,4 +67,5 @@ pypi-twine:
- pip install --upgrade pip
- pip install twine build
- python3 -m build
- twine upload dist/*
- twine check dist/*
- twine upload --non-interactive dist/*