diff --git a/Makefile b/Makefile index 487f58d..c802084 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ do-release: git fetch -p --all; \ generate-changelog; \ git add CODEOWNERS; \ - export BRANCH_NAME=$(SHORT_BRANCH_NAME);bumpversion $(BUMPVERSION_OPTS) $(RELEASE_KIND) --allow-dirty --dry-run; \ + export BRANCH_NAME=$(SHORT_BRANCH_NAME);bumpversion $(BUMPVERSION_OPTS) $(RELEASE_KIND) --allow-dirty; \ git push origin $(BRANCH_NAME); \ git push --tags; diff --git a/setup.cfg b/setup.cfg index 70fb57f..b412e9a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -55,5 +55,9 @@ message = Version updated from {current_version} to {new_version} [bumpversion:file:categories/__init__.py] -[bumpversion:file:CHANGELOG.md] +[bumpversion:file(version heading):CHANGELOG.md] search = Unreleased + +[bumpversion:file(diff link):CHANGELOG.md] +search = {current_version}...HEAD +replace = {current_version}...{new_version}