Debian Codegraph @

docs/release_process.rst

raw
1 ===============
2 Release process
3 ===============
4
5 This is the release process for leather:
6
7 1. Verify all tests pass.
8 2. Check test coverage: ``pytest --cov leather``.
9 3. Ensure any new modules have been added to setup.py's ``packages`` list.
10 #. Ensure any new public interfaces have been added to the documentation.
11 #. Make sure the example scripts still work: ``./examples.sh``.
12 #. Ensure ``CHANGELOG.rst`` is up to date. Add the release date and summary.
13 #. Create a release tag: ``git tag -a x.y.z -m "x.y.z release."``
14 #. Push tags upstream: ``git push --tags``
15 #. If this is a major release, merge ``master`` into ``stable``: ``git checkout stable; git merge master; git push``
16 #. Upload to `PyPI <https://pypi.python.org/pypi/leather>`_: ``python setup.py sdist bdist_wheel upload``.
17 #. Flag the release to build on `RTFD <https://readthedocs.org/dashboard/leather/versions/>`_.
18 #. Update the "default version" on `RTFD <https://readthedocs.org/dashboard/leather/versions/>`_ to the latest.
19 #. Rev to latest version: ``docs/conf.py``, ``setup.py`` and ``CHANGELOG.rst`` need updates.
20 #. Commit revision: ``git commit -am "Update to version x.y.z for development."``.