Updated version replacement

This commit is contained in:
Corey Oordt 2022-09-21 11:47:21 -05:00
parent 379a023ae9
commit 18aa8201e7
2 changed files with 6 additions and 2 deletions

View file

@ -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;

View file

@ -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}