pybind11/docs/release.rst
2016-03-08 18:12:24 +01:00

14 lines
515 B
ReStructuredText

To release a new version of pybind11:
- Update `pybind11/_version.py` (set release version, remove 'dev')
- `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'`.
- Update `_version.py` (add 'dev' and increment minor).
- Update version macros in `include/pybind11/common.h`
- `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.