You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.1 KiB

3 months ago
  1. To release a new version of pybind11:
  2. - Update the version number and push to pypi
  3. - Update ``pybind11/_version.py`` (set release version, remove 'dev').
  4. - Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/common.h``.
  5. - Ensure that all the information in ``setup.py`` is up-to-date.
  6. - Update version in ``docs/conf.py``.
  7. - Tag release date in ``docs/changelog.rst``.
  8. - ``git add`` and ``git commit``.
  9. - if new minor version: ``git checkout -b vX.Y``, ``git push -u origin vX.Y``
  10. - ``git tag -a vX.Y.Z -m 'vX.Y.Z release'``.
  11. - ``git push``
  12. - ``git push --tags``.
  13. - ``python setup.py sdist upload``.
  14. - ``python setup.py bdist_wheel upload``.
  15. - Update conda-forge (https://github.com/conda-forge/pybind11-feedstock) via PR
  16. - change version number in ``recipe/meta.yml``
  17. - update checksum to match the one computed by pypi
  18. - Get back to work
  19. - Update ``_version.py`` (add 'dev' and increment minor).
  20. - Update version in ``docs/conf.py``
  21. - Update version macros in ``include/pybind11/common.h``
  22. - ``git add`` and ``git commit``.
  23. ``git push``