From f17bd4f01a4377d2c71dffb1999d79eba0c0b2ee Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 26 Jan 2021 06:38:53 -0500 Subject: Combine kit download with kit check --- Makefile | 5 ++++- howto.txt | 6 ++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index ff5d3c99..4bc811e2 100644 --- a/Makefile +++ b/Makefile @@ -96,9 +96,12 @@ kit_local: # don't go crazy trying to figure out why our new code isn't installing. find ~/Library/Caches/pip/wheels -name 'coverage-*' -delete -download_kits: ## Download the built kits from GitHub +download_kits: ## Download the built kits from GitHub. python ci/download_gha_artifacts.py +check_kits: ## Check that dist/* are well-formed. + python -m twine check dist/* + build_ext: python setup.py build_ext diff --git a/howto.txt b/howto.txt index 8a912833..6ecea7cf 100644 --- a/howto.txt +++ b/howto.txt @@ -46,11 +46,9 @@ - Kits: - Manually trigger the kit GitHub Action - https://github.com/nedbat/coveragepy/actions?query=workflow%3A%22Build+kits%22 - - Download built kits from GitHub Actions: - $ make clean download_kits + - Download and check built kits from GitHub Actions: + $ make clean download_kits check_kits - examine the dist directory, and remove anything that looks malformed. - - check the dist directory: - $ python -m twine check dist/* - test the pypi upload: $ make test_upload - Update PyPI: -- cgit v1.2.1