Skip to content

Commit

Permalink
twine check in release process
Browse files Browse the repository at this point in the history
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: avocado-framework#5713
Signed-off-by: Jan Richter <[email protected]>
  • Loading branch information
richtja committed Oct 13, 2023
1 parent 86a6f3e commit e85805d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile.gh
Original file line number Diff line number Diff line change
Expand Up @@ -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\
Expand All @@ -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
Expand Down

0 comments on commit e85805d

Please sign in to comment.