Skip to content

Commit 1b59804

Browse files
committed
fix make notes version parsing for bump-my-version
1 parent a9bbf24 commit 1b59804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ package-test: clean
7171

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

0 commit comments

Comments
 (0)