2016-02-01 14:51:35 +00:00
|
|
|
To release a new version of pybind11:
|
|
|
|
|
2016-03-09 00:31:52 +00:00
|
|
|
- Update the version number and push to pypi
|
|
|
|
- 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``.
|
|
|
|
- Tag the commit and push to anaconda.org
|
|
|
|
- ``git tag -a X.X -m '[Release comment]'``.
|
|
|
|
- ``conda-build conda.recipe --output``
|
|
|
|
This should ouput the path of the generated tar.bz2 for the package
|
|
|
|
- ``conda-convert --platform all [path/to/tar.bz2] -o .``
|
2016-03-09 08:56:37 +00:00
|
|
|
- For each platform name, ``anaconda-upload -u pybind ./platform/tarfile.tar.bz2``
|
2016-03-09 00:31:52 +00:00
|
|
|
- Get back to work
|
|
|
|
- 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``.
|
2016-02-01 14:51:35 +00:00
|
|
|
|
2016-03-09 00:31:52 +00:00
|
|
|
The remote for the last ``git push --tags`` should be the main repository for
|
2016-02-01 14:51:35 +00:00
|
|
|
pybind11.
|