Skip to content

Commit

Permalink
docs: Document how we release
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaty committed Oct 9, 2018
1 parent a7ce93f commit 43415c8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@ quality:
python setup.py check --strict --metadata --restructuredtext
pylint --reports=no setup.py cid

release: clean
fullrelease

test:
py.test tests
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ Topics
installation
api
contributing
releasing
authors
history
25 changes: 25 additions & 0 deletions docs/releasing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
=======================
Releasing a new version
=======================

We use the excellent `zest.releaser`_ tool to make new releases. There
is a Makefile rule that does a bit more cleaning beforehand. Just
type::

make release

And then follow the instructions.

We try to use `semantic versioning`_, i.e. use MAJOR.MINOR.PATCH
version numbers with:

- MAJOR version when we make incompatible API changes;
- MINOR version when we add functionality in a backwards-compatible manner;
- PATCH version when we make backwards-compatible bug fixes.

Although the distinction between MINOR and PATCH has not always been
followed, the changelog should be clear enough.


.. _zest.releaser: https://zestreleaser.readthedocs.io/en/latest/
.. _semantic versioning: https://semver.org/

0 comments on commit 43415c8

Please sign in to comment.