Blame external/pybind11/docs/release.rst

Packit 534379
To release a new version of pybind11:
Packit 534379
Packit 534379
- Update the version number and push to pypi
Packit 534379
    - Update ``pybind11/_version.py`` (set release version, remove 'dev').
Packit 534379
    - Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/detail/common.h``.
Packit 534379
    - Ensure that all the information in ``setup.py`` is up-to-date.
Packit 534379
    - Update version in ``docs/conf.py``.
Packit 534379
    - Tag release date in ``docs/changelog.rst``.
Packit 534379
    - ``git add`` and ``git commit``.
Packit 534379
    - if new minor version: ``git checkout -b vX.Y``, ``git push -u origin vX.Y``
Packit 534379
    - ``git tag -a vX.Y.Z -m 'vX.Y.Z release'``.
Packit 534379
    - ``git push``
Packit 534379
    - ``git push --tags``.
Packit 534379
    - ``python setup.py sdist upload``.
Packit 534379
    - ``python setup.py bdist_wheel upload``.
Packit 534379
- Get back to work
Packit 534379
    - Update ``_version.py`` (add 'dev' and increment minor).
Packit 534379
    - Update version in ``docs/conf.py``
Packit 534379
    - Update version macros in ``include/pybind11/common.h``
Packit 534379
    - ``git add`` and ``git commit``.
Packit 534379
      ``git push``