2013-12-10 03:30:44 -06:00
|
|
|
Release checklist
|
|
|
|
=================
|
|
|
|
|
2022-10-16 10:51:22 -05:00
|
|
|
A stable release is a release where the minor or micro version parts are
|
|
|
|
incremented.
|
|
|
|
A major release is a release where the major version part is incremented.
|
|
|
|
|
|
|
|
Checks
|
|
|
|
------
|
|
|
|
|
|
|
|
* open "https://github.com/sphinx-doc/sphinx/actions?query=branch:master" and all tests has passed
|
|
|
|
* Run ``git fetch; git status`` and check that nothing has changed
|
|
|
|
|
|
|
|
Bump version
|
|
|
|
------------
|
|
|
|
|
|
|
|
for stable and major releases
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2018-02-06 08:19:25 -06:00
|
|
|
|
2018-02-16 06:06:46 -06:00
|
|
|
* ``python utils/bump_version.py X.Y.Z``
|
|
|
|
* Check diff by ``git diff``
|
|
|
|
* ``git commit -am 'Bump to X.Y.Z final'``
|
2022-09-24 15:58:10 -05:00
|
|
|
* ``git tag vX.Y.Z -m "Sphinx X.Y.Z"``
|
2016-12-13 09:54:25 -06:00
|
|
|
|
2022-10-16 10:51:22 -05:00
|
|
|
for beta releases
|
|
|
|
~~~~~~~~~~~~~~~~~
|
2016-12-13 09:54:25 -06:00
|
|
|
|
2018-02-16 06:06:46 -06:00
|
|
|
* ``python utils/bump_version.py X.Y.0bN``
|
|
|
|
* Check diff by ``git diff``
|
|
|
|
* ``git commit -am 'Bump to X.Y.0 betaN'``
|
2022-10-16 10:51:22 -05:00
|
|
|
* ``git tag vX.Y.0b1 -m "Sphinx X.Y.0bN"``
|
2018-02-06 08:19:25 -06:00
|
|
|
|
2022-10-16 10:51:22 -05:00
|
|
|
Build Sphinx
|
|
|
|
------------
|
2018-02-06 08:19:25 -06:00
|
|
|
|
2018-02-16 06:06:46 -06:00
|
|
|
* ``make clean``
|
2022-04-16 15:38:39 -05:00
|
|
|
* ``python -m build .``
|
2020-02-23 01:35:43 -06:00
|
|
|
* ``twine upload dist/Sphinx-* --sign --identity [your GPG key]``
|
2022-10-16 10:51:22 -05:00
|
|
|
* open https://pypi.org/project/Sphinx/ and check for any obvious errors
|
|
|
|
|
|
|
|
for stable and major releases
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2020-02-23 21:21:38 -06:00
|
|
|
* ``sh utils/bump_docker.sh X.Y.Z``
|
2022-10-16 10:51:22 -05:00
|
|
|
|
|
|
|
Bump to next development version
|
|
|
|
--------------------------------
|
|
|
|
|
|
|
|
for stable and major releases
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
* ``python utils/bump_version.py --in-develop X.Y.Z+1b0`` (ex. 1.5.3b0)
|
|
|
|
|
|
|
|
for beta releases
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
* ``python utils/bump_version.py --in-develop X.Y.0bN+1`` (ex. 1.6.0b2)
|
|
|
|
|
|
|
|
Commit version bump
|
|
|
|
-------------------
|
|
|
|
|
2018-02-16 06:06:46 -06:00
|
|
|
* Check diff by ``git diff``
|
|
|
|
* ``git commit -am 'Bump version'``
|
2022-10-16 10:51:22 -05:00
|
|
|
* ``git push origin master --tags``
|
|
|
|
|
|
|
|
Final steps
|
|
|
|
-----------
|
|
|
|
|
2018-01-28 09:24:30 -06:00
|
|
|
* Add new version/milestone to tracker categories
|
2016-12-13 09:30:34 -06:00
|
|
|
* Write announcement and send to sphinx-dev, sphinx-users and python-announce
|