File: RELEASING.rst

package info (click to toggle)
python-pytest-xprocess 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 272 kB
  • sloc: python: 756; makefile: 25; sh: 10
file content (39 lines) | stat: -rw-r--r-- 1,053 bytes parent folder | download | duplicates (3)
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
28
29
30
31
32
33
34
35
36
37
38
39
=========================
Releasing pytest-xprocess
=========================

This document describes the steps to make a new ``pytest-xprocess`` release.

Version
-------

``master`` should always be green and a potential release candidate. ``pytest-xprocess`` follows
semantic versioning, so given that the current version is ``X.Y.Z``, to find the next version number
one needs to look at the ``changelog`` file for the latest section marked as ``Unreleased``

Steps
-----

#. Create a new branch named ``release-X.Y.Z`` from the latest ``master``.

#. Create and activate a virtualenv::

    $ python -m venv venv && source venv/bin/activate

#. Install ``tox``::

    $ pip install tox

#. Run the test suite and ensure everything passes::

    $ tox

#. Commit and push the branch for review.

#. Once PR is **green** and **approved**, create and push a tag::

    $ export VERSION=X.Y.Z
    $ git tag $VERSION release-$VERSION
    $ git push git@github.com:pytest-dev/pytest-xprocess.git $VERSION

#. Merge ``release-X.Y.Z`` branch into master.