blob: a15504ea8b8c023c79a82784f28ad029a92af266 [file] [log] [blame]
Sylvain Corlay97dc8102016-02-01 09:51:35 -05001To release a new version of pybind11:
2
Sylvain Corlaye6464ad2016-03-08 19:31:52 -05003- Update the version number and push to pypi
4 - Update ``pybind11/_version.py`` (set release version, remove 'dev')
Wenzel Jakob2c76c692016-05-26 16:50:15 +02005 - Update version in ``docs/conf.py``
6 - Tag release date in ``docs/changelog.rst``.
Sylvain Corlaye6464ad2016-03-08 19:31:52 -05007 - ``git add`` and ``git commit``.
Wenzel Jakoba720a602016-07-12 18:02:13 +02008 - 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'``.
Wenzel Jakobace7b432016-05-10 13:09:05 +010010 - ``git push``
11 - ``git push --tags``.
Sylvain Corlaye6464ad2016-03-08 19:31:52 -050012 - ``python setup.py sdist upload``.
13 - ``python setup.py bdist_wheel upload``.
Wenzel Jakob663513c2016-06-14 16:08:31 +020014- Update conda-forge (https://github.com/conda-forge/pybind11-feedstock) via PR
15 - change version number in ``recipe/meta.yml``
Wenzel Jakobace7b432016-05-10 13:09:05 +010016 - update checksum to match the one computed by pypi
Sylvain Corlaye6464ad2016-03-08 19:31:52 -050017- Get back to work
18 - Update ``_version.py`` (add 'dev' and increment minor).
Wenzel Jakobf85c5292016-06-14 15:24:47 +020019 - Update version in ``docs/conf.py``
Sylvain Corlaye6464ad2016-03-08 19:31:52 -050020 - Update version macros in ``include/pybind11/common.h``
Wenzel Jakobace7b432016-05-10 13:09:05 +010021 - ``git add`` and ``git commit``.
22 ``git push``