pybind11/docs/release.rst

26 lines
1.2 KiB
ReStructuredText
Raw Permalink Normal View History

To release a new version of pybind11:
2016-03-09 00:31:52 +00:00
- Update the version number and push to pypi
2016-12-29 22:44:48 +00:00
- Update ``pybind11/_version.py`` (set release version, remove 'dev').
2017-08-31 11:56:57 +00:00
- Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/detail/common.h``.
2017-01-01 16:14:27 +00:00
- Ensure that all the information in ``setup.py`` is up-to-date.
2016-12-29 22:44:48 +00:00
- Update version in ``docs/conf.py``.
2016-05-26 14:50:15 +00:00
- Tag release date in ``docs/changelog.rst``.
2016-03-09 00:31:52 +00:00
- ``git add`` and ``git commit``.
- if new minor version: ``git checkout -b vX.Y``, ``git push -u origin vX.Y``
- ``git tag -a vX.Y.Z -m 'vX.Y.Z release'``.
- ``git push``
- ``git push --tags``.
2016-03-09 00:31:52 +00:00
- ``python setup.py sdist upload``.
- ``python setup.py bdist_wheel upload``.
2016-06-14 14:08:31 +00:00
- Update conda-forge (https://github.com/conda-forge/pybind11-feedstock) via PR
- download release package from Github: ``wget https://github.com/pybind/pybind11/archive/vX.Y.Z.tar.gz``
- compute checksum: ``shasum -a 256 vX.Y.Z.tar.gz``
- change version number and checksum in ``recipe/meta.yml``
2016-03-09 00:31:52 +00:00
- Get back to work
- Update ``_version.py`` (add 'dev' and increment minor).
2016-06-14 13:24:47 +00:00
- Update version in ``docs/conf.py``
2016-03-09 00:31:52 +00:00
- Update version macros in ``include/pybind11/common.h``
- ``git add`` and ``git commit``.
``git push``