mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
Updated version replacement
This commit is contained in:
parent
379a023ae9
commit
18aa8201e7
2 changed files with 6 additions and 2 deletions
2
Makefile
2
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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue