release_process.rst 700 B

123456789101112131415161718192021222324
  1. Release Process
  2. ~~~~~~~~~~~~~~~
  3. 1. Increment version number in ``cloudbridge/__init__.py`` as per
  4. `semver rules <https://semver.org/>_.
  5. 2. Freeze all library dependencies in ``setup.py``. The version numbers can be
  6. a range with the upper limit being the latest known working version, and the
  7. lowest being the last known working version.
  8. 3. Run all ``tox`` tests.
  9. 4. Add release notes to ``CHANGELOG.rst``. Also add last commit hash to
  10. changelog. List of commits can be obtained using
  11. ``git shortlog <last release hash>..HEAD``
  12. 5. Release to PyPi
  13. .. code-block:: bash
  14. python setup.py sdist upload
  15. python setup.py bdist_wheel upload
  16. 6. Tag release and make GitHub release.