You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
978 B

  1. To release a new version of pybind11:
  2. - Update the version number and push to pypi
  3. - Update ``pybind11/_version.py`` (set release version, remove 'dev')
  4. - ``git add`` and ``git commit``.
  5. - ``python setup.py sdist upload``.
  6. - ``python setup.py bdist_wheel upload``.
  7. - Tag release date in ``doc/changelog.rst``.
  8. - Tag the commit and push to anaconda.org
  9. - ``git tag -a X.X -m '[Release comment]'``.
  10. - ``conda-build conda.recipe --output``
  11. This should ouput the path of the generated tar.bz2 for the package
  12. - ``conda-convert --platform all [path/to/tar.bz2] -o .``
  13. - ``for i in *-32/* *-64/*; do anaconda upload -u pybind $i; done``
  14. - Get back to work
  15. - Update ``_version.py`` (add 'dev' and increment minor).
  16. - Update version macros in ``include/pybind11/common.h``
  17. - ``git add`` and ``git commit``. ``git push``. ``git push --tags``.
  18. The remote for the last ``git push --tags`` should be the main repository for
  19. pybind11.