File: RELEASING.rst

package info (click to toggle)
python-pluggy 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 476 kB
  • sloc: python: 3,344; sh: 58; makefile: 6
file content (27 lines) | stat: -rw-r--r-- 855 bytes parent folder | download | duplicates (13)
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
Release Procedure
-----------------

#. Dependening on the magnitude of the changes in the release, consider testing
   some of the large downstream users of pluggy against the upcoming release.
   You can do so using the scripts in the ``downstream/`` directory.

#. From a clean work tree, execute::

    tox -e release -- VERSION

   This will create the branch ready to be pushed.

#. Open a PR targeting ``main``.

#. All tests must pass and the PR must be approved by at least another maintainer.

#. Publish to PyPI by pushing a tag::

     git tag X.Y.Z release-X.Y.Z
     git push git@github.com:pytest-dev/pluggy.git X.Y.Z

   The tag will trigger a new build, which will deploy to PyPI.

#. Make sure it is `available on PyPI <https://pypi.org/project/pluggy>`_.

#. Merge the PR into ``main``, either manually or using GitHub's web interface.