release.rst 836 Bytes
Newer Older
1
2
To release a new version of pybind11:

Sylvain Corlay's avatar
Sylvain Corlay committed
3
4
- Update the version number and push to pypi
    - Update ``pybind11/_version.py`` (set release version, remove 'dev')
Wenzel Jakob's avatar
Wenzel Jakob committed
5
6
    - Update version in ``docs/conf.py``
    - Tag release date in ``docs/changelog.rst``.
Sylvain Corlay's avatar
Sylvain Corlay committed
7
    - ``git add`` and ``git commit``.
8
9
10
    - ``git tag -a vX.Y -m 'vX.Y release'``.
    - ``git push``
    - ``git push --tags``.
Sylvain Corlay's avatar
Sylvain Corlay committed
11
12
    - ``python setup.py sdist upload``.
    - ``python setup.py bdist_wheel upload``.
13
- Update conda-forge (https://github.com/conda-forge/pybind11-feedstock)
14
15
    - change version number in ``meta.yml``
    - update checksum to match the one computed by pypi
Sylvain Corlay's avatar
Sylvain Corlay committed
16
17
18
- Get back to work
    - Update ``_version.py`` (add 'dev' and increment minor).
    - Update version macros in ``include/pybind11/common.h``
19
20
    - ``git add`` and ``git commit``.
      ``git push``