File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ build-docs:
46
46
$(MAKE ) -C docs html
47
47
$(MAKE ) -C docs doctest
48
48
./newsfragments/validate_files.py
49
- towncrier --draft --version preview
49
+ towncrier build --draft --version preview
50
50
51
51
docs : build-docs
52
52
open docs/_build/html/index.html
@@ -63,7 +63,7 @@ notes: check-bump
63
63
# Let UPCOMING_VERSION be the version that is used for the current bump
64
64
$(eval UPCOMING_VERSION=$(shell bumpversion $(bump ) --dry-run --list | grep new_version= | sed 's/new_version=//g') )
65
65
# Now generate the release notes to have them included in the release commit
66
- towncrier --yes --version $(UPCOMING_VERSION )
66
+ towncrier build --yes --version $(UPCOMING_VERSION )
67
67
# Before we bump the version, make sure that the towncrier-generated docs will build
68
68
make build-docs
69
69
git commit -m " Compile release notes"
Original file line number Diff line number Diff line change 20
20
'doc' : [
21
21
"Sphinx>=1.6.5,<2" ,
22
22
"sphinx_rtd_theme>=0.1.9,<1" ,
23
- "towncrier>=19.2.0, <20 " ,
23
+ "towncrier>=21,<22 " ,
24
24
],
25
25
'dev' : [
26
26
"bumpversion>=0.5.3,<1" ,
You can’t perform that action at this time.
0 commit comments