diff options
author | Matti Picus <matti.picus@gmail.com> | 2021-04-16 15:17:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 15:17:03 -0400 |
commit | 9ac46e59ec2b69b2bdf89065d10cf75e519d0a27 (patch) | |
tree | 60269253f9698f5c0bb7524e763650463632d79b | |
parent | a6cd7b4f56c9fbffb9e72e8ffc5a0b9e70d1b06d (diff) | |
parent | 853e2334449429860769bf7e19e7d151c7125729 (diff) | |
download | numpy-9ac46e59ec2b69b2bdf89065d10cf75e519d0a27.tar.gz |
Merge pull request #18790 from seberg/towncrier-explicit-build
CI: Use `towncrier build` explicitly
-rw-r--r-- | .circleci/config.yml | 2 | ||||
-rw-r--r-- | doc/release/upcoming_changes/README.rst | 2 | ||||
-rwxr-xr-x | tools/ci/test_all_newsfragments_used.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 6f4a32513..ac85d4937 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,7 +42,7 @@ jobs: . venv/bin/activate pip install git+https://github.com/hawkowl/towncrier.git@master VERSION=$(python -c "import setup; print(setup.VERSION)") - towncrier --version $VERSION --yes + towncrier build --version $VERSION --yes ./tools/ci/test_all_newsfragments_used.py - run: diff --git a/doc/release/upcoming_changes/README.rst b/doc/release/upcoming_changes/README.rst index ff5ca514c..436535ecd 100644 --- a/doc/release/upcoming_changes/README.rst +++ b/doc/release/upcoming_changes/README.rst @@ -50,7 +50,7 @@ and double-backticks for code. If you are unsure what pull request type to use, don't hesitate to ask in your PR. -You can install ``towncrier`` and run ``towncrier --draft --version 1.18`` +You can install ``towncrier`` and run ``towncrier build --draft --version 1.18`` if you want to get a preview of how your change will look in the final release notes. diff --git a/tools/ci/test_all_newsfragments_used.py b/tools/ci/test_all_newsfragments_used.py index c2e031549..62c9a05f9 100755 --- a/tools/ci/test_all_newsfragments_used.py +++ b/tools/ci/test_all_newsfragments_used.py @@ -12,5 +12,5 @@ fragments.remove("template.rst") if fragments: print("The following files were not found by towncrier:") - print(" " + " \n".join(fragments)) + print(" " + "\n ".join(fragments)) sys.exit(1) |