-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bumpversion.toml
63 lines (50 loc) · 1.51 KB
/
.bumpversion.toml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[tool.bumpversion]
current_version = "1.4.2"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = true
sign_tags = true
tag_name = "{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "chore(version): Bump version {current_version} → {new_version}"
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []
[[tool.bumpversion.files]]
filename = "VERSION"
[[tool.bumpversion.files]]
filename = 'pyproject.toml'
search = "{current_version}"
replace = "{new_version}"
[[tool.bumpversion.files]]
filename = 'tests/__init__.py'
search = "__date__ = '\\d{{4}}-\\d{{2}}-\\d{{2}}'"
replace = "__date__ = '{now:%Y-%m-%d}'"
regex = true
[[tool.bumpversion.files]]
filename = 'tests/__init__.py'
[[tool.bumpversion.files]]
filename = 'src/robotpuzzle/__init__.py'
search = "__date__ = '\\d{{4}}-\\d{{2}}-\\d{{2}}'"
replace = "__date__ = '{now:%Y-%m-%d}'"
regex = true
[[tool.bumpversion.files]]
filename = 'src/robotpuzzle/__init__.py'
[[tool.bumpversion.files]]
filename = 'src/robotpuzzle/node.py'
[[tool.bumpversion.files]]
filename = 'src/robotpuzzle/circles.py'
[[tool.bumpversion.files]]
filename = 'src/robotpuzzle/buffer.py'
[[tool.bumpversion.files]]
filename = 'src/robotpuzzle/console.py'
[[tool.bumpversion.files]]
filename = 'src/robotpuzzle/log.py'