| 1 |
# SPDX-FileCopyrightText: Christian Amsüss |
| 2 |
# SPDX-License-Identifier: MIT |
| 3 |
|
| 4 |
Notes to the maintainer on what to do during a release |
| 5 |
====================================================== |
| 6 |
|
| 7 |
* Update NEWS file |
| 8 |
* Bump versions in aiocoap/meta.py, and at the head of NEWS |
| 9 |
* Commit: git commit -m "Prepare $VERSION release" |
| 10 |
* Tag it: git tag -as "$VERSION" -m "$VERSION" |
| 11 |
* Clean up: git stash -u; git clean -fxd |
| 12 |
* Build it: python3 -m build |
| 13 |
(This builds, by default, both tar ball and wheel) |
| 14 |
* Upload it: twine upload ./dist/aiocoap-"$VERSION"{.tar.gz,-py3-none-any.whl} |
| 15 |
* Push it: git push github main:master --tags; git push gitlab main:master --tags; git push codeberg main --tags |
| 16 |
* log in to readthedocs, add new tag as new version |
| 17 |
* Bump versions to add a ".post0" |
| 18 |
* Commit that: git commit -m "Bump version to .post0 to indicate development" |
| 19 |
|
| 20 |
(This serves to indicate that anything built from git is not identical to |
| 21 |
the last release.) |