File: releasing.rst

package info (click to toggle)
sphinx-hoverxref 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,296 kB
  • sloc: javascript: 2,538; python: 912; makefile: 16
file content (27 lines) | stat: -rw-r--r-- 709 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Releasing a new version
=======================

This project uses `flit <https://flit.pypa.io/en/latest/>`_  and `bumpver <https://github.com/mbarkhau/bumpver>`_ for this process.
These are the steps needed to release a new version:

#. Install the dependencies::

     $ pip install flit bumpver

#. Update the ``CHANGELOG.rst`` with the changes included in this release
#. Add ``CHANGELOG.rst`` to git stage::

     $ git add CHANGELOG.rst

#. Increase version (``--patch``, ``--minor`` or ``--major``)::

     $ bumpver update --minor --allow-dirty

#. Build the package and check everything is correct::

     $ rm -rf dist/ build/
     $ flit build

#. Upload the package to PyPI::

     $ flit publish