Skip to content

Commit

Permalink
Update documented invocations of generate commands
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Sep 5, 2019
1 parent ae4a229 commit 79ce923
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .azure-pipelines/jobs/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
inputs:
versionSpec: '3'

- bash: pip install setuptools tox wheel invoke towncrier requests
- bash: pip install tox nox setuptools wheel
displayName: Install dependencies

- bash: invoke generate.authors
- bash: nox -s generate_authors
displayName: Generate AUTHORS.txt

- bash: invoke generate.news --yes
- bash: nox -s generate_news --yes
displayName: Generate NEWS.rst

- bash: tox -e packaging
Expand Down
7 changes: 3 additions & 4 deletions docs/html/development/release-process.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,13 @@ Creating a new release
----------------------

#. Checkout the current pip ``master`` branch.
#. Ensure you have the latest ``wheel``, ``setuptools``, ``twine``, ``invoke``
and ``towncrier`` packages installed.
#. Generate a new ``AUTHORS.txt`` (``invoke generate.authors``) and commit the
#. Ensure you have the latest ``wheel``, ``setuptools``, ``twine`` and ``nox`` packages installed.
#. Generate a new ``AUTHORS.txt`` (``nox -s generate_authors``) and commit the
results.
#. Bump the version in ``pip/__init__.py`` to the release version and commit
the results. Usually this involves dropping just the ``.devN`` suffix on the
version.
#. Generate a new ``NEWS.rst`` (``invoke generate.news``) and commit the
#. Generate a new ``NEWS.rst`` (``nox -s generate_news``) and commit the
results.
#. Create a tag at the current commit, of the form ``YY.N``
(``git tag YY.N``).
Expand Down

0 comments on commit 79ce923

Please sign in to comment.