| 1 |
================ |
| 2 |
Maintainer Guide |
| 3 |
================ |
| 4 |
|
| 5 |
Making a Release |
| 6 |
---------------- |
| 7 |
|
| 8 |
#. Make sure the `meson.build` file contains the right version number |
| 9 |
#. Update the NEWS file |
| 10 |
#. Build new version using ``python3 -m build --sdist`` |
| 11 |
#. Commit NEWS as ``"release 3.X.Y"`` and push |
| 12 |
#. Tag with: ``git tag -s 3.X.Y -m "release 3.X.Y"`` |
| 13 |
#. Push tag with: ``git push origin 3.X.Y`` |
| 14 |
#. In case of a stable release, upload to PyPI: |
| 15 |
``twine upload dist/pygobject-3.X.Y.tar.gz`` |
| 16 |
#. Commit post-release version bump to pyproject.toml |
| 17 |
#. In case the release happens on a stable branch copy the NEWS changes to |
| 18 |
the main branch |
| 19 |
|
| 20 |
|
| 21 |
Branching |
| 22 |
--------- |
| 23 |
|
| 24 |
Each cycle after the feature freeze, we create a stable branch so development |
| 25 |
can continue in the main branch unaffected by the freezes. |
| 26 |
|
| 27 |
#. Create the branch locally with: ``git checkout -b pygobject-3-2`` |
| 28 |
#. Push new branch: ``git push origin pygobject-3-2`` |
| 29 |
#. In main, update pyproject.toml to what will be the next version number |
| 30 |
(3.3.0) |