Skip to content

Commit f124de8

Browse files
committed
build: no longer download kits to upload them
1 parent 9516cf6 commit f124de8

File tree

3 files changed

+3
-122
lines changed

3 files changed

+3
-122
lines changed

Makefile

+1-8
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ sample_html_beta: _sample_cog_html ## Generate sample HTML report for a beta rel
177177
##@ Kitting: making releases
178178

179179
.PHONY: edit_for_release cheats relbranch relcommit1 relcommit2
180-
.PHONY: kit kit_upload test_upload kit_local build_kits download_kits check_kits
180+
.PHONY: kit kit_upload test_upload kit_local build_kits
181181
.PHONY: tag bump_version
182182

183183
REPO_OWNER = nedbat/coveragepy
@@ -219,13 +219,6 @@ kit_local:
219219
build_kits: ## Trigger GitHub to build kits
220220
python ci/trigger_action.py $(REPO_OWNER) build-kits
221221

222-
download_kits: ## Download the built kits from GitHub.
223-
python ci/download_gha_artifacts.py $(REPO_OWNER) 'dist-*' dist
224-
225-
check_kits: ## Check that dist/* are well-formed.
226-
python -m twine check dist/*
227-
@echo $$(ls -1 dist | wc -l) distribution kits
228-
229222
tag: #: Make a git tag with the version number (see howto.txt).
230223
git tag -s -m "Version $$(python setup.py --version)" $$(python setup.py --version)
231224
git push --follow-tags

ci/download_gha_artifacts.py

-110
This file was deleted.

howto.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,13 @@
5252
- Kits:
5353
- Wait for kits to finish:
5454
- https://github.com/nedbat/coveragepy/actions/workflows/kit.yml
55-
- Download and check built kits from GitHub Actions:
56-
$ make clean download_kits check_kits
5755
- there should be 52
58-
- examine the dist directory, and remove anything that looks malformed.
59-
- opvars
6056
- test the pypi upload:
6157
$ make test_upload
58+
- you'll need to approve the action
6259
- upload kits:
6360
$ make kit_upload
61+
- you'll need to approve the action
6462
- Tag the tree
6563
$ make tag
6664
- Update GitHub releases:

0 commit comments

Comments
 (0)