From 2b0f5843e28e58ac95a9c7b87de6f151625d7c78 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 22 May 2022 17:29:10 -0400 Subject: build: more make targets for release steps --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.1