-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bumpversion.cfg
35 lines (27 loc) · 1.23 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
34
35
[bumpversion]
commit = True
tag = False
current_version = 0.1.0
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:src/mrimate/__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/rserial/MRIMate/compare/v{current_version}...HEAD
replace = [Unreleased]: https://github.com/rserial/MRIMate/compare/v{new_version}...HEAD
[{new_version}]: https://github.com/rserial/MRIMate/compare/v{current_version}...v{new_version}
[bumpversion:file(version):CITATION.cff]
search = version: {current_version}
replace = version: {new_version}
[bumpversion:file(tag):CITATION.cff]
search = https://github.com/rserial/MRIMate/releases/tag/v{current_version}
replace = https://github.com/rserial/MRIMate/releases/tag/v{new_version}
[bumpversion:file(description):CITATION.cff]
search = description: The Software Heritage link for version {current_version}.
replace = description: The Software Heritage link for version {new_version}.