-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bumpversion.cfg
29 lines (24 loc) · 1022 Bytes
/
.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
[bumpversion]
commit = True
tag = False
current_version = 0.12.2.dev1
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.dev(?P<dev>\d+))?
serialize =
{major}.{minor}.{patch}.dev{dev}
{major}.{minor}.{patch}
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:src/id_translation/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file(title):CHANGELOG.md]
serialize = {major}.{minor}.{patch}
search = {#}{#} [Unreleased]
replace = {#}{#} [Unreleased]
{#}{#} [{new_version}] - {now:%Y-%m-%d}
[bumpversion:file(links):CHANGELOG.md]
serialize = {major}.{minor}.{patch}
search = [Unreleased]: https://github.com/rsundqvist/id-translation/compare/v{current_version}...HEAD
replace = [Unreleased]: https://github.com/rsundqvist/id-translation/compare/v{new_version}...HEAD
[{new_version}]: https://github.com/rsundqvist/id-translator/compare/v{current_version}...v{new_version}