Update documented invocations of generate commands

This commit is contained in:
Pradyun Gedam 2019-08-27 16:05:35 +05:30
parent ae4a22958e
commit 79ce923e1a
No known key found for this signature in database
GPG Key ID: DA17C4B29CB32E4B
2 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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``).