From 98d410af8430d427675742e6ad88ff95aa029407 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 16 Mar 2023 08:01:49 -0400 Subject: build: slightly more release automation --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7f695920..ce3772c8 100644 --- a/Makefile +++ b/Makefile @@ -158,6 +158,15 @@ REPO_OWNER = nedbat/coveragepy edit_for_release: ## Edit sources to insert release facts. python igor.py edit_for_release +relbranch: ## Create the branch for releasing. + echo git switch -c nedbat/release-$$(date +%Y%m%d) + +relcommit1: ## Commit the first release changes. + git commit -am "docs: prep for $$(python setup.py --version)" + +relcommit2: ## Commit the latest sample HTML report. + git commit -am "docs: sample HTML for $$(python setup.py --version)" + kit: ## Make the source distribution. python -m build -- cgit v1.2.1