mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-07 13:40:56 +00:00
Merge pull request #63 from carver/towncrier-upgrade
Upgrade towncrier to fix the duplicate title bug
This commit is contained in:
4
Makefile
4
Makefile
@ -46,7 +46,7 @@ build-docs:
|
|||||||
$(MAKE) -C docs html
|
$(MAKE) -C docs html
|
||||||
$(MAKE) -C docs doctest
|
$(MAKE) -C docs doctest
|
||||||
./newsfragments/validate_files.py
|
./newsfragments/validate_files.py
|
||||||
towncrier --draft --version preview
|
towncrier build --draft --version preview
|
||||||
|
|
||||||
docs: build-docs
|
docs: build-docs
|
||||||
open docs/_build/html/index.html
|
open docs/_build/html/index.html
|
||||||
@ -63,7 +63,7 @@ notes: check-bump
|
|||||||
# Let UPCOMING_VERSION be the version that is used for the current 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'))
|
$(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
|
# 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
|
# Before we bump the version, make sure that the towncrier-generated docs will build
|
||||||
make build-docs
|
make build-docs
|
||||||
git commit -m "Compile release notes"
|
git commit -m "Compile release notes"
|
||||||
|
|||||||
Reference in New Issue
Block a user