summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-01-07 16:43:58 -0500
committerNed Batchelder <ned@nedbatchelder.com>2023-01-07 17:03:50 -0500
commitfe3d110052a47ef15f9490058703ecc5026f7c09 (patch)
tree4e811c1878f70dbeba8315403cbf4be08b2cea23
parentf4c27c7888b17e73c0d52ff7bfb8da505f532819 (diff)
downloadpython-coveragepy-git-fe3d110052a47ef15f9490058703ecc5026f7c09.tar.gz
build: a little more streamlining of the release process
-rw-r--r--Makefile3
-rw-r--r--howto.txt10
2 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d906554f..5bca7c53 100644
--- a/Makefile
+++ b/Makefile
@@ -188,7 +188,10 @@ update_stable: ## Set the stable branch to the latest release.
git push origin stable
bump_version: ## Edit sources to bump the version after a release.
+ git switch -c nedbat/bump-version
python igor.py bump_version
+ git commit -a -m "build: bump version"
+ git push -u origin @
##@ Documentation
diff --git a/howto.txt b/howto.txt
index b42f2228..9b5893ec 100644
--- a/howto.txt
+++ b/howto.txt
@@ -36,16 +36,17 @@
- wait for ci to finish
- merge to master
- git push
+- Start the kits:
+ - Trigger the kit GitHub Action
+ $ make build_kits
- Build and publish docs:
- IF PRE-RELEASE:
$ make publishbeta
- ELSE:
$ make publish
- Kits:
- - Trigger the kit GitHub Action
- $ make build_kits
- - wait for it to finish:
- - https://github.com/nedbat/coveragepy/actions/workflows/kit.yml
+ - Wait for kits to finish:
+ - https://github.com/nedbat/coveragepy/actions/workflows/kit.yml
- Download and check built kits from GitHub Actions:
$ make clean download_kits check_kits
- examine the dist directory, and remove anything that looks malformed.
@@ -66,7 +67,6 @@
- unopvars
- Bump version:
$ make bump_version
- $ git push
- Update readthedocs
- @ https://readthedocs.org/projects/coverage/versions/
- find the latest tag in the inactive list, edit it, make it active.