Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.03 KB

RELEASING.rst

File metadata and controls

39 lines (24 loc) · 1.03 KB

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

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

  2. Create and activate a virtualenv:

    $ python -m venv venv && source venv/bin/activate
    
  3. Install tox:

    $ pip install tox
    
  4. Run the test suite and ensure everything passes:

    $ tox
    
  5. Commit and push the branch for review.

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

    $ export VERSION=X.Y.Z
    $ git tag $VERSION release-$VERSION
    $ git push [email protected]:pytest-dev/pytest-xprocess.git $VERSION
    
  7. Merge release-X.Y.Z branch into master.