Skip to content

Commit

Permalink
build: kit_upload -> pypi_upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Jun 25, 2024
1 parent 69a034f commit c654ec0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 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
.PHONY: kit pypi_upload test_upload kit_local build_kits
.PHONY: tag bump_version

REPO_OWNER = nedbat/coveragepy
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion howto.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c654ec0

Please sign in to comment.