From e85805d21014b7ba55722f71fc2a6194b26571df Mon Sep 17 00:00:00 2001 From: Jan Richter Date: Tue, 10 Oct 2023 15:01:17 +0200 Subject: [PATCH] twine check in release process This commit adds twine check for each package, before publishing it. With this change, we will avoid problems with publishing the packages in the future. Reference: #5713 Signed-off-by: Jan Richter --- Makefile.gh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.gh b/Makefile.gh index c334952f05..b125d00e1a 100644 --- a/Makefile.gh +++ b/Makefile.gh @@ -59,7 +59,7 @@ endif -H "Authorization: Token $(TOKEN_RTD)" "$(URL)/versions/$(VERSION)/builds/" build-wheel: pip - $(PYTHON) -m pip install $(PYTHON_DEVELOP_ARGS) build + $(PYTHON) -m pip install $(PYTHON_DEVELOP_ARGS) build twine if test ! -d PYPI_UPLOAD; then mkdir PYPI_UPLOAD; fi $(PYTHON) -m build -o PYPI_UPLOAD for PLUGIN in $(AVOCADO_OPTIONAL_PLUGINS); do\ @@ -69,6 +69,9 @@ build-wheel: pip cd -;\ fi;\ done + ls + ls PYPI_UPLOAD + twine check ./PYPI_UPLOAD/*.{tar.gz,whl} build-egg: if test ! -d EGG_UPLOAD; then mkdir EGG_UPLOAD; fi