From cd11eefb38cbab232d55a23c5f17320b9d485099 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Tue, 16 Jun 2026 13:55:25 -0400 Subject: [PATCH] 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. --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e6c2f10..b67838b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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/*