release.rst revision 11986
1To release a new version of pybind11:
2
3- Update the version number and push to pypi
4    - Update ``pybind11/_version.py`` (set release version, remove 'dev')
5    - Update version in ``docs/conf.py``
6    - Tag release date in ``docs/changelog.rst``.
7    - ``git add`` and ``git commit``.
8    - if new minor version: ``git checkout -b vX.Y``, ``git push -u origin vX.Y``
9    - ``git tag -a vX.Y.Z -m 'vX.Y.Z release'``.
10    - ``git push``
11    - ``git push --tags``.
12    - ``python setup.py sdist upload``.
13    - ``python setup.py bdist_wheel upload``.
14- Update conda-forge (https://github.com/conda-forge/pybind11-feedstock) via PR
15    - change version number in ``recipe/meta.yml``
16    - update checksum to match the one computed by pypi
17- Get back to work
18    - Update ``_version.py`` (add 'dev' and increment minor).
19    - Update version in ``docs/conf.py``
20    - Update version macros in ``include/pybind11/common.h``
21    - ``git add`` and ``git commit``.
22      ``git push``
23