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