From c654ec06e05467cfa72e7f763ab2bf2a833d5c01 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 25 Jun 2024 06:36:52 -0400 Subject: [PATCH] build: kit_upload -> pypi_upload --- .github/workflows/publish.yml | 5 +++-- Makefile | 4 ++-- howto.txt | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 386b7284f..c76e43e3f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,9 +5,10 @@ name: "Publish" on: repository_dispatch: + # Triggered with `make` targets: types: - - publish-testpypi - - publish-pypi + - publish-testpypi # `make test_upload` + - publish-pypi # `make pypi_upload` defaults: run: diff --git a/Makefile b/Makefile index ac2433fdc..9a58205a9 100644 --- a/Makefile +++ b/Makefile @@ -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 +.PHONY: kit pypi_upload test_upload kit_local build_kits .PHONY: tag bump_version REPO_OWNER = nedbat/coveragepy @@ -201,7 +201,7 @@ relcommit2: #: Commit the latest sample HTML report (see howto.txt). kit: ## Make the source distribution. python -m build -kit_upload: ## Upload the built distributions to PyPI. +pypi_upload: ## Upload the built distributions to PyPI. python ci/trigger_action.py $(REPO_OWNER) publish-pypi test_upload: ## Upload the distributions to PyPI's testing server. diff --git a/howto.txt b/howto.txt index e540f6355..6cba5ba98 100644 --- a/howto.txt +++ b/howto.txt @@ -57,7 +57,7 @@ $ make test_upload - you'll need to approve the action - upload kits: - $ make kit_upload + $ make pypi_upload - you'll need to approve the action - Tag the tree $ make tag