2016-02-01 14:51:35 +00:00
|
|
|
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``.
|
2016-07-12 16:02:13 +00:00
|
|
|
- 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'``.
|
2016-05-10 12:09:05 +00:00
|
|
|
- ``git push``
|
|
|
|
- ``git push --tags``.
|
2016-03-09 00:31:52 +00:00
|
|
|
- ``python setup.py sdist upload``.
|
|
|
|
- ``python setup.py bdist_wheel upload``.
|
|
|
|
- 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``
|
2016-05-10 12:09:05 +00:00
|
|
|
- ``git add`` and ``git commit``.
|
|
|
|
``git push``
|