-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bumpversion.cfg
33 lines (26 loc) · 1.01 KB
/
.bumpversion.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[bumpversion]
commit = True
tag = True
current_version = 1.1.0
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:Cargo.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:Cargo.lock]
search = name = "narrow_down"
version = "{current_version}"
replace = name = "narrow_down"
version = "{new_version}"
[bumpversion:file:narrow_down/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file(title):CHANGELOG.md]
search = {#}{#} [Unreleased]
replace = {#}{#} [Unreleased]
{#}{#} [{new_version}] - {now:%Y-%m-%d}
[bumpversion:file(links):CHANGELOG.md]
search = [Unreleased]: https://github.com/chr1st1ank/narrow-down/compare/v{current_version}...HEAD
replace = [Unreleased]: https://github.com/chr1st1ank/narrow-down/compare/v{new_version}...HEAD
[{new_version}]: https://github.com/chr1st1ank/narrow-down/compare/v{current_version}...v{new_version}