Merge pull request #132 from SylvainCorlay/update_release_instructions

Update release instructions
This commit is contained in:
Wenzel Jakob 2016-03-09 01:47:28 +01:00
commit f7e056a413

View File

@ -1,13 +1,20 @@
To release a new version of pybind11: To release a new version of pybind11:
- Update `pybind11/_version.py` (set release version, remove 'dev') - Update the version number and push to pypi
- `git add` and `git commit`. - Update ``pybind11/_version.py`` (set release version, remove 'dev')
- `python setup.py sdist upload`. - ``git add`` and ``git commit``.
- `python setup.py bdist_wheel upload`. - ``python setup.py sdist upload``.
- `git tag -a X.X -m 'Release tag comment'`. - ``python setup.py bdist_wheel upload``.
- Update `_version.py` (add 'dev' and increment minor). - Tag the commit and push to anaconda.org
- Update version macros in `include/pybind11/common.h` - ``git tag -a X.X -m '[Release comment]'``.
- `git add` and `git commit`. `git push`. `git push --tags`. - ``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 .``
- For each platform name, ``anaconda-upload ./platform/tarfile.tar.bz2``
- 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``.
The remote for the last `git push --tags` should be the main repository for The remote for the last ``git push --tags`` should be the main repository for
pybind11. pybind11.