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

Wenzel Jakob's avatar
Wenzel Jakob committed
3
- Update version macros in `include/pybind11/common.h`
4
- Update `pybind11/_version.py` (set release version, remove 'dev')
5
6
7
8
- `git add` and `git commit`.
- `python setup.py sdist upload`.
- `python setup.py bdist_wheel upload`.
- `git tag -a X.X -m 'Release tag comment'`.
9
- Update `_version.py` (add 'dev' and increment minor).
10
11
12
13
- `git add` and `git commit`. `git push`. `git push --tags`.

The remote for the last `git push --tags` should be the main repository for
pybind11.