2013-12-10 10:30:44 +01:00
|
|
|
Release checklist
|
|
|
|
|
=================
|
|
|
|
|
|
2022-10-16 16:51:22 +01: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 23:19:25 +09:00
|
|
|
|
2018-02-16 21:06:46 +09: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 21:58:10 +01:00
|
|
|
* ``git tag vX.Y.Z -m "Sphinx X.Y.Z"``
|
2016-12-14 00:54:25 +09:00
|
|
|
|
2022-10-16 16:51:22 +01:00
|
|
|
for beta releases
|
|
|
|
|
~~~~~~~~~~~~~~~~~
|
2016-12-14 00:54:25 +09:00
|
|
|
|
2018-02-16 21:06:46 +09: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 16:51:22 +01:00
|
|
|
* ``git tag vX.Y.0b1 -m "Sphinx X.Y.0bN"``
|
2018-02-06 23:19:25 +09:00
|
|
|
|
2022-10-16 16:51:22 +01:00
|
|
|
Build Sphinx
|
|
|
|
|
------------
|
2018-02-06 23:19:25 +09:00
|
|
|
|
2018-02-16 21:06:46 +09:00
|
|
|
* ``make clean``
|
2022-04-16 21:38:39 +01:00
|
|
|
* ``python -m build .``
|
2020-02-23 16:35:43 +09:00
|
|
|
* ``twine upload dist/Sphinx-* --sign --identity [your GPG key]``
|
2022-10-16 16:51:22 +01:00
|
|
|
* open https://pypi.org/project/Sphinx/ and check for any obvious errors
|
|
|
|
|
|
|
|
|
|
for stable and major releases
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
2020-02-24 12:21:38 +09:00
|
|
|
* ``sh utils/bump_docker.sh X.Y.Z``
|
2022-10-16 16:51:22 +01: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 21:06:46 +09:00
|
|
|
* Check diff by ``git diff``
|
|
|
|
|
* ``git commit -am 'Bump version'``
|
2022-10-16 16:51:22 +01:00
|
|
|
* ``git push origin master --tags``
|
|
|
|
|
|
|
|
|
|
Final steps
|
|
|
|
|
-----------
|
|
|
|
|
|
2018-01-29 00:24:30 +09:00
|
|
|
* Add new version/milestone to tracker categories
|
2016-12-14 00:30:34 +09:00
|
|
|
* Write announcement and send to sphinx-dev, sphinx-users and python-announce
|