From 2d7014cb861b00ac32c2ae8b5d3401be494b256d Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 2 Jun 2022 08:47:13 -0400 Subject: build: clean up ci helpers, use them more uniformly --- Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f2c67095..6c70e578 100644 --- a/Makefile +++ b/Makefile @@ -134,6 +134,8 @@ sample_html_beta: _sample_cog_html ## Generate sample HTML report for a beta rel .PHONY: kit kit_upload test_upload kit_local build_kits download_kits check_kits tag .PHONY: update_stable comment_on_fixes +REPO_OWNER = nedbat/coveragepy + kit: ## Make the source distribution. python -m build @@ -153,10 +155,10 @@ kit_local: find ~/Library/Caches/pip/wheels -name 'coverage-*' -delete build_kits: ## Trigger GitHub to build kits - python ci/trigger_build_kits.py nedbat/coveragepy + python ci/trigger_build_kits.py $(REPO_OWNER) download_kits: ## Download the built kits from GitHub. - python ci/download_gha_artifacts.py nedbat/coveragepy + python ci/download_gha_artifacts.py $(REPO_OWNER) check_kits: ## Check that dist/* are well-formed. python -m twine check dist/* @@ -169,9 +171,6 @@ update_stable: ## Set the stable branch to the latest release. git branch -f stable $$(python setup.py --version) git push origin stable -comment_on_fixes: ## Add a comment to issues that were fixed. - python ci/comment_on_fixes.py - ##@ Documentation @@ -227,4 +226,7 @@ $(RELNOTES_JSON): $(CHANGES_MD) $(DOCBIN)/python ci/parse_relnotes.py tmp/rst_rst/changes.md $(RELNOTES_JSON) github_releases: $(RELNOTES_JSON) ## Update GitHub releases. - $(DOCBIN)/python ci/github_releases.py $(RELNOTES_JSON) nedbat/coveragepy + $(DOCBIN)/python ci/github_releases.py $(RELNOTES_JSON) $(REPO_OWNER) + +comment_on_fixes: $(RELNOTES_JSON) ## Add a comment to issues that were fixed. + python ci/comment_on_fixes.py $(REPO_OWNER) -- cgit v1.2.1