Skip to content

Commit

Permalink
build: no longer download kits to upload them
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Jun 22, 2024
1 parent 9516cf6 commit f124de8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 122 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ sample_html_beta: _sample_cog_html ## Generate sample HTML report for a beta rel
##@ Kitting: making releases

.PHONY: edit_for_release cheats relbranch relcommit1 relcommit2
.PHONY: kit kit_upload test_upload kit_local build_kits download_kits check_kits
.PHONY: kit kit_upload test_upload kit_local build_kits
.PHONY: tag bump_version

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

download_kits: ## Download the built kits from GitHub.
python ci/download_gha_artifacts.py $(REPO_OWNER) 'dist-*' dist

check_kits: ## Check that dist/* are well-formed.
python -m twine check dist/*
@echo $$(ls -1 dist | wc -l) distribution kits

tag: #: Make a git tag with the version number (see howto.txt).
git tag -s -m "Version $$(python setup.py --version)" $$(python setup.py --version)
git push --follow-tags
Expand Down
110 changes: 0 additions & 110 deletions ci/download_gha_artifacts.py

This file was deleted.

6 changes: 2 additions & 4 deletions howto.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,13 @@
- Kits:
- Wait for kits to finish:
- https://github.com/nedbat/coveragepy/actions/workflows/kit.yml
- Download and check built kits from GitHub Actions:
$ make clean download_kits check_kits
- there should be 52
- examine the dist directory, and remove anything that looks malformed.
- opvars
- test the pypi upload:
$ make test_upload
- you'll need to approve the action
- upload kits:
$ make kit_upload
- you'll need to approve the action
- Tag the tree
$ make tag
- Update GitHub releases:
Expand Down

0 comments on commit f124de8

Please sign in to comment.