| 1 |
0. Run full test suite in all branches. Continue if all tests passed. |
| 2 |
|
| 3 |
1. Run devscripts/prerelease $NEW_TAG. |
| 4 |
|
| 5 |
1a. The script checks out the release branch ('maint' for a bug-fix |
| 6 |
release, 'master' for minor or major release) and calls editor; update |
| 7 |
version, the list of contributors, the list of changes and download URL |
| 8 |
in ANNOUNCE.rst; copy the list of changes from ANNOUNCE.rst to |
| 9 |
LATEST-CHANGES.rst; if it is a stable release - edit docs/news.rst to |
| 10 |
set release date. Edit Version.py and README.rst in the release branch |
| 11 |
- fix versions. Edit section [egg_info] in setup.cfg - set if it is a |
| 12 |
stable or development release. In SetupConfig.py edit "Development |
| 13 |
Status" in trove classifiers; edit dev_tag or download URL: if a |
| 14 |
non-stable version - append 'dev' and date stamp, for a stable version |
| 15 |
remove 'dev' and date stamp). Commit. Verify. |
| 16 |
|
| 17 |
2. Run devscripts/prerelease-tag $NEW_TAG. This checks out the release |
| 18 |
branch and creates the new tag at the head of the release branch. Push |
| 19 |
the branch and the tag to start test/build. |
| 20 |
|
| 21 |
3. Generate new docs using devscripts/build-all-docs. Upload docs using |
| 22 |
devscripts/publish-docs. |
| 23 |
|
| 24 |
4. Run devscripts/postrelease. The script checks out 'master' and |
| 25 |
null-merge 'maint'. The script restores ANNOUNCE.rst from the previous |
| 26 |
commit (HEAD~). It calls editor; update next version, remove the list of |
| 27 |
contributors and the list of changes, edit download URL in ANNOUNCE.rst. |
| 28 |
Edit docs/news.rst - add new version. Edit Version.py and README.rst - |
| 29 |
fix versions. Edit section [egg_info] in setup.cfg. In SetupConfig.py |
| 30 |
edit "Development Status" in trove classifiers; edit dev_tag or download |
| 31 |
URL. Commit. Verify. Fast-forward 'next' to 'master'. |
| 32 |
|
| 33 |
5. Send announcement to the Cheetah mailing list. For a stable release send |
| 34 |
announcements to python and python-announce mailing lists. |
| 35 |
|
| 36 |
6. Announce new release at Wikipedia |
| 37 |
(https://en.wikipedia.org/wiki/CheetahTemplate). |