fix code blocks and version parsing

This commit is contained in:
pacrob
2024-10-24 14:11:12 -06:00
committed by Paul Robinson
parent e731a9464d
commit 40ce3a8174
2 changed files with 9 additions and 1 deletions

View File

@ -80,7 +80,7 @@ package-test: clean
notes: check-bump
# Let UPCOMING_VERSION be the version that is used for the current bump
$(eval UPCOMING_VERSION=$(shell bump-my-version show --increment $(bump) new_version))
$(eval UPCOMING_VERSION=$(shell bump-my-version bump --dry-run $(bump) -v | awk -F"'" '/New version will be / {print $$2}'))
# Now generate the release notes to have them included in the release commit
towncrier build --yes --version $(UPCOMING_VERSION)
# Before we bump the version, make sure that the towncrier-generated docs will build