Skip to content

Commit

Permalink
Add a doc section about compatible release clauses
Browse files Browse the repository at this point in the history
  • Loading branch information
ekmartin committed Mar 7, 2016
1 parent ec2c25c commit b08014a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/reference.rst
Expand Up @@ -277,6 +277,11 @@ This means that::
.. note:: python-semanticversion also accepts ``"*"`` as a version spec,
that matches all (valid) version strings.

.. note:: python-semanticversion supports PyPI-style `compatible release clauses`_:

* ``~=2.2`` means "Any release between 2.2.0 and 3.0.0"
* ``~=1.4.5`` means "Any release between 1.4.5 and 1.5.0"

.. note:: python-semanticversion includes support for NPM-style specs:

* ``~1.2.3`` means "Any release between 1.2.3 and 1.3.0"
Expand Down Expand Up @@ -568,3 +573,4 @@ rules apply:


.. _SemVer: http://semver.org/
.. _`compatible release clauses`: https://www.python.org/dev/peps/pep-0440/#compatible-release

0 comments on commit b08014a

Please sign in to comment.