Skip to content

Commit

Permalink
Merge pull request ethereum#63 from carver/towncrier-upgrade
Browse files Browse the repository at this point in the history
Upgrade towncrier to fix the duplicate title bug
  • Loading branch information
carver authored Jun 3, 2022
2 parents 0144dd9 + cb112ef commit 7fd5078
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ build-docs:
$(MAKE) -C docs html
$(MAKE) -C docs doctest
./newsfragments/validate_files.py
towncrier --draft --version preview
towncrier build --draft --version preview

docs: build-docs
open docs/_build/html/index.html
Expand All @@ -63,7 +63,7 @@ notes: check-bump
# Let UPCOMING_VERSION be the version that is used for the current bump
$(eval UPCOMING_VERSION=$(shell bumpversion $(bump) --dry-run --list | grep new_version= | sed 's/new_version=//g'))
# Now generate the release notes to have them included in the release commit
towncrier --yes --version $(UPCOMING_VERSION)
towncrier build --yes --version $(UPCOMING_VERSION)
# Before we bump the version, make sure that the towncrier-generated docs will build
make build-docs
git commit -m "Compile release notes"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'doc': [
"Sphinx>=1.6.5,<2",
"sphinx_rtd_theme>=0.1.9,<1",
"towncrier>=19.2.0, <20",
"towncrier>=21,<22",
],
'dev': [
"bumpversion>=0.5.3,<1",
Expand Down

0 comments on commit 7fd5078

Please sign in to comment.