Sylvain Corlay | 97dc810 | 2016-02-01 09:51:35 -0500 | [diff] [blame] | 1 | To release a new version of pybind11: |
| 2 | |
Sylvain Corlay | e6464ad | 2016-03-08 19:31:52 -0500 | [diff] [blame] | 3 | - Update the version number and push to pypi |
Wenzel Jakob | 4010081 | 2016-12-29 23:44:48 +0100 | [diff] [blame] | 4 | - Update ``pybind11/_version.py`` (set release version, remove 'dev'). |
| 5 | - Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/common.h``. |
Wenzel Jakob | 2723a38 | 2017-01-01 17:14:27 +0100 | [diff] [blame] | 6 | - Ensure that all the information in ``setup.py`` is up-to-date. |
Wenzel Jakob | 4010081 | 2016-12-29 23:44:48 +0100 | [diff] [blame] | 7 | - Update version in ``docs/conf.py``. |
Wenzel Jakob | 2c76c69 | 2016-05-26 16:50:15 +0200 | [diff] [blame] | 8 | - Tag release date in ``docs/changelog.rst``. |
Sylvain Corlay | e6464ad | 2016-03-08 19:31:52 -0500 | [diff] [blame] | 9 | - ``git add`` and ``git commit``. |
Wenzel Jakob | a720a60 | 2016-07-12 18:02:13 +0200 | [diff] [blame] | 10 | - if new minor version: ``git checkout -b vX.Y``, ``git push -u origin vX.Y`` |
| 11 | - ``git tag -a vX.Y.Z -m 'vX.Y.Z release'``. |
Wenzel Jakob | ace7b43 | 2016-05-10 13:09:05 +0100 | [diff] [blame] | 12 | - ``git push`` |
| 13 | - ``git push --tags``. |
Sylvain Corlay | e6464ad | 2016-03-08 19:31:52 -0500 | [diff] [blame] | 14 | - ``python setup.py sdist upload``. |
| 15 | - ``python setup.py bdist_wheel upload``. |
Wenzel Jakob | 663513c | 2016-06-14 16:08:31 +0200 | [diff] [blame] | 16 | - Update conda-forge (https://github.com/conda-forge/pybind11-feedstock) via PR |
| 17 | - change version number in ``recipe/meta.yml`` |
Wenzel Jakob | ace7b43 | 2016-05-10 13:09:05 +0100 | [diff] [blame] | 18 | - update checksum to match the one computed by pypi |
Sylvain Corlay | e6464ad | 2016-03-08 19:31:52 -0500 | [diff] [blame] | 19 | - Get back to work |
| 20 | - Update ``_version.py`` (add 'dev' and increment minor). |
Wenzel Jakob | f85c529 | 2016-06-14 15:24:47 +0200 | [diff] [blame] | 21 | - Update version in ``docs/conf.py`` |
Sylvain Corlay | e6464ad | 2016-03-08 19:31:52 -0500 | [diff] [blame] | 22 | - Update version macros in ``include/pybind11/common.h`` |
Wenzel Jakob | ace7b43 | 2016-05-10 13:09:05 +0100 | [diff] [blame] | 23 | - ``git add`` and ``git commit``. |
| 24 | ``git push`` |