diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-03-16 17:42:06 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-03-16 17:43:06 -0400 |
commit | 402858f0e57a095e890ea34a0170caff321d4a04 (patch) | |
tree | 7f350f323557210be6c6a870dfd96e72ce6a098d | |
parent | 02b759919323a5e6c664a9a3ef3468234997f5a9 (diff) | |
download | python-coveragepy-git-402858f0e57a095e890ea34a0170caff321d4a04.tar.gz |
build: more convenient cheats
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | howto.txt | 7 |
3 files changed, 9 insertions, 3 deletions
@@ -21,6 +21,7 @@ coverage.json # Stuff in the root. build *.egg-info +cheats.txt dist htmlcov MANIFEST @@ -36,6 +36,7 @@ clean: clean_platform ## Remove artifacts of test execution, installation, etc sterile: clean ## Remove all non-controlled content, even if expensive. rm -rf .tox + rm -f cheats.txt help: ## Show this help. @# Adapted from https://www.thapaliya.com/en/writings/well-documented-makefiles/ @@ -158,6 +159,9 @@ REPO_OWNER = nedbat/coveragepy edit_for_release: ## Edit sources to insert release facts. python igor.py edit_for_release +cheats: ## Create some useful snippets for releasing. + python igor.py cheats | tee cheats.txt + relbranch: ## Create the branch for releasing. echo git switch -c nedbat/release-$$(date +%Y%m%d) @@ -3,16 +3,17 @@ - Check that the current virtualenv matches the current coverage branch. - start branch for release work $ make relbranch -- Version number in coverage/version.py +- Edit version number in coverage/version.py version_info = (4, 0, 2, "alpha", 1) version_info = (4, 0, 2, "beta", 1) version_info = (4, 0, 2, "candidate", 1) version_info = (4, 0, 2, "final", 0) - make sure: _dev = 0 -- Supported Python version numbers. Search for "PYVERSIONS". +- Edit supported Python version numbers. Search for "PYVERSIONS". - Update source files with release facts: $ make edit_for_release -- run `python igor.py cheats` to get useful snippets for next steps. +- Get useful snippets for next steps, and beyond, in cheats.txt + $ make cheats - Look over CHANGES.rst - Update README.rst - "New in x.y:" |