-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
.bumpversion.cfg
47 lines (36 loc) · 1.9 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
36
37
38
39
40
41
42
43
44
45
46
47
[bumpversion]
commit = True
tag = False
current_version = 3.1.0
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file(version):docs/conf.py]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file(release):docs/conf.py]
search = release = "{current_version}"
replace = release = "{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/fedejaure/cookiecutter-modern-pypackage/compare/v{current_version}...develop
replace = [Unreleased]: https://github.com/fedejaure/cookiecutter-modern-pypackage/compare/v{new_version}...develop
[{new_version}]: https://github.com/fedejaure/cookiecutter-modern-pypackage/compare/v{current_version}...v{new_version}
[bumpversion:file:README.md]
search = cookiecutter gh:fedejaure/cookiecutter-modern-pypackage --checkout v{current_version}
replace = cookiecutter gh:fedejaure/cookiecutter-modern-pypackage --checkout v{new_version}
[bumpversion:file:docs/tutorial.rst]
search = $ cookiecutter gh:fedejaure/cookiecutter-modern-pypackage --checkout v{current_version}
replace = $ cookiecutter gh:fedejaure/cookiecutter-modern-pypackage --checkout 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/fedejaure/cookiecutter-modern-pypackage/releases/tag/v{current_version}
replace = https://github.com/fedejaure/cookiecutter-modern-pypackage/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}.