Change-Id: I16870dec402d661295f9d013dc23e362b2b2c169 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-on: https://gem5-review.googlesource.com/3225 Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
25 lines
1.1 KiB
ReStructuredText
25 lines
1.1 KiB
ReStructuredText
To release a new version of pybind11:
|
|
|
|
- Update the version number and push to pypi
|
|
- Update ``pybind11/_version.py`` (set release version, remove 'dev').
|
|
- Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/common.h``.
|
|
- Ensure that all the information in ``setup.py`` is up-to-date.
|
|
- Update version in ``docs/conf.py``.
|
|
- Tag release date in ``docs/changelog.rst``.
|
|
- ``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``.
|
|
- ``python setup.py sdist upload``.
|
|
- ``python setup.py bdist_wheel upload``.
|
|
- Update conda-forge (https://github.com/conda-forge/pybind11-feedstock) via PR
|
|
- change version number in ``recipe/meta.yml``
|
|
- update checksum to match the one computed by pypi
|
|
- Get back to work
|
|
- Update ``_version.py`` (add 'dev' and increment minor).
|
|
- Update version in ``docs/conf.py``
|
|
- Update version macros in ``include/pybind11/common.h``
|
|
- ``git add`` and ``git commit``.
|
|
``git push``
|