Skip to content

Commit 8816d1d

Browse files
committed
Add build to towncrier commands
1 parent acd5b24 commit 8816d1d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ docs: build-docs validate-docs
4848

4949
validate-docs: build-docs
5050
python newsfragments/validate_files.py
51-
towncrier --draft
51+
towncrier build --draft
5252

5353
linux-docs: build-docs
5454
readlink -f docs/_build/html/index.html
@@ -57,7 +57,7 @@ notes:
5757
# Let UPCOMING_VERSION be the version that is used for the current bump
5858
$(eval UPCOMING_VERSION=$(shell bumpversion $(bump) --dry-run --list | grep new_version= | sed 's/new_version=//g'))
5959
# Now generate the release notes to have them included in the release commit
60-
towncrier --yes --version $(UPCOMING_VERSION)
60+
towncrier build --yes --version $(UPCOMING_VERSION)
6161
# Before we bump the version, make sure that the towncrier-generated docs will build
6262
make build-docs
6363
git commit -m "Compile release notes"

docs/contributing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ Preview The Release Notes
465465

466466
.. code:: sh
467467
468-
$ towncrier --draft
468+
$ towncrier build --draft
469469
470470
471471
Compile The Release Notes

0 commit comments

Comments
 (0)