| 1 |
.. _releasing: |
| 2 |
|
| 3 |
Preparing a release |
| 4 |
------------------- |
| 5 |
|
| 6 |
Things to do for releasing: |
| 7 |
|
| 8 |
* announce intent to release on gitter |
| 9 |
|
| 10 |
* check for open issues / pull requests that really should be in the release |
| 11 |
|
| 12 |
+ come back when these are done |
| 13 |
|
| 14 |
+ … or ignore them and do another release next week |
| 15 |
|
| 16 |
* check for deprecations "long enough ago" (two months or two releases, whichever is longer) |
| 17 |
|
| 18 |
+ remove affected code |
| 19 |
|
| 20 |
* Do the actual release changeset |
| 21 |
|
| 22 |
+ bump version number |
| 23 |
|
| 24 |
- increment as per Semantic Versioning rules |
| 25 |
|
| 26 |
- remove ``+dev`` tag from version number |
| 27 |
|
| 28 |
+ Run ``towncrier`` |
| 29 |
|
| 30 |
- review history change |
| 31 |
|
| 32 |
- ``git rm`` the now outdated newfragments |
| 33 |
|
| 34 |
+ commit |
| 35 |
|
| 36 |
* push to your personal repository |
| 37 |
|
| 38 |
* create pull request to ``python-trio/trio``'s "main" branch |
| 39 |
|
| 40 |
* verify that all checks succeeded |
| 41 |
|
| 42 |
* tag with vVERSION, push tag on ``python-trio/trio`` (not on your personal repository) |
| 43 |
|
| 44 |
* approve the release workflow's publish job |
| 45 |
|
| 46 |
* update version number in the same pull request |
| 47 |
|
| 48 |
+ add ``+dev`` tag to the end |
| 49 |
|
| 50 |
* merge the release pull request |
| 51 |
|
| 52 |
* make a GitHub release (go to the tag and press "Create release from tag") |
| 53 |
|
| 54 |
+ paste in the new content in ``history.rst`` and convert it to markdown: turn the parts under section into ``---``, update links to just be the links, and whatever else is necessary. |
| 55 |
|
| 56 |
+ include anything else that might be pertinent, like a link to the commits between the latest and current release. |
| 57 |
|
| 58 |
* announce on gitter |