summaryrefslogtreecommitdiff
path: root/howto.txt
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-09-30 19:06:56 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-09-30 21:53:34 -0400
commitad1c59c4b238c8695148355bbb677f2d5f4c2f31 (patch)
tree5522d5f35a8cb144f511207f2687d2de91f1104c /howto.txt
parent8bdaafe103e36ec6428a5bf8d1d6a807a1269a1f (diff)
downloadpython-coveragepy-git-ad1c59c4b238c8695148355bbb677f2d5f4c2f31.tar.gz
build: automate release-related edits
Diffstat (limited to 'howto.txt')
-rw-r--r--howto.txt16
1 files changed, 4 insertions, 12 deletions
diff --git a/howto.txt b/howto.txt
index ec0bd9e7..32707eee 100644
--- a/howto.txt
+++ b/howto.txt
@@ -7,10 +7,10 @@
version_info = (4, 0, 2, "candidate", 1)
version_info = (4, 0, 2, "final", 0)
- Supported Python version numbers. Search for "PYVERSIONS".
-- Copyright date in NOTICE.txt
+- Update source files with release facts:
+ $ make edit_for_release
- run `python igor.py cheats` to get useful snippets for next steps.
-- Update CHANGES.rst, including release date.
- - don't forget the jump target
+- Look over CHANGES.rst
- Update README.rst
- "New in x.y:"
- Python versions supported
@@ -18,8 +18,6 @@
- Python versions in doc/index.rst
- IF PRE-RELEASE:
- Version of latest stable release in doc/index.rst
- - Version, release, release_date and copyright date in doc/conf.py
- - Look for CHANGEME comments
- Make sure the docs are cogged:
$ make prebuild
- Don't forget the man page: doc/python-coverage.1.txt
@@ -61,14 +59,8 @@
$ make clean github_releases
- Visit the fixed issues on GitHub and mention the version it was fixed in.
$ make comment_on_fixes
- - "This is now released as part of [coverage 5.2](https://pypi.org/project/coverage/5.2)."
- Bump version:
- - coverage/version.py
- - increment version number
- - IF NOT PRE-RELEASE:
- - set to alpha-0 if just released.
- - CHANGES.rst
- - add an "Unreleased" section to the top.
+ $ make bump_version
$ git push
- Update readthedocs
- @ https://readthedocs.org/projects/coverage/versions/