Skip to content

Commit

Permalink
HOWTORELEASE: create branch first and run pre-commit after generate-r…
Browse files Browse the repository at this point in the history
…elease task

This makes more sense because we need to install from
tasks/requirements.txt
  • Loading branch information
nicoddemus committed Jul 4, 2018
1 parent fa31610 commit 73d787d
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions HOWTORELEASE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ taking a lot of time to make a new one.
pytest releases must be prepared on **Linux** because the docs and examples expect
to be executed in that platform.

#. Install development dependencies in a virtual environment with::

pip3 install -U -r tasks/requirements.txt

#. Create a branch ``release-X.Y.Z`` with the version for the release.

* **patch releases**: from the latest ``master``;
Expand All @@ -22,9 +18,19 @@ taking a lot of time to make a new one.

Ensure your are in a clean work tree.

#. Generate docs, changelog, announcements and a **local** tag::
#. Install development dependencies in a virtual environment with::

$ pip3 install -U -r tasks/requirements.txt

#. Generate docs, changelog, announcements, and a **local** tag::

$ invoke generate.pre-release <VERSION>

#. Execute pre-commit on all files to ensure the docs are conformant and commit your results::

$ pre-commit run --all-files
$ git commit -am "Fix files with pre-commit"

invoke generate.pre-release <VERSION>

#. Open a PR for this branch targeting ``master``.

Expand Down

0 comments on commit 73d787d

Please sign in to comment.