summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-05-22 17:29:10 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-05-22 17:29:10 -0400
commit2b0f5843e28e58ac95a9c7b87de6f151625d7c78 (patch)
tree251408eaa21a1534cc6d004dfc4ce0c206d7d018 /Makefile
parentc7395644b8e900130251c1858079cea89964d659 (diff)
downloadpython-coveragepy-git-2b0f5843e28e58ac95a9c7b87de6f151625d7c78.tar.gz
build: more make targets for release steps
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b8b44b77..e2f5e304 100644
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,8 @@ prebuild: css workflows cogdoc ## One command for all source prep.
##@ Kitting: making releases
-.PHONY: kit kit_upload test_upload kit_local download_kits check_kits
+.PHONY: kit kit_upload test_upload kit_local download_kits check_kits tag
+.PHONY: update_stable comment_on_fixes
kit: ## Make the source distribution.
python -m build
@@ -134,6 +135,17 @@ download_kits: ## Download the built kits from GitHub.
check_kits: ## Check that dist/* are well-formed.
python -m twine check dist/*
+tag: ## Make a git tag with the version number.
+ git tag -a -m "Version $$(python setup.py --version)" $$(python setup.py --version)
+ git push --follow-tags
+
+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/commend_on_fixes.py
+
##@ Documentation