Skip to content

Commit 6836103

Browse files
committed
Added tbump config
1 parent 2b18ba2 commit 6836103

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

pyproject.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,37 @@ force_grid_wrap = 0
3535
use_parentheses = true
3636
line_length = 100
3737
known_first_party = "kelvin"
38+
39+
[tool.tbump]
40+
github_url = "https://github.com/compose-x/ecs-files-composer"
41+
42+
[tool.tbump.version]
43+
current = "0.0.1"
44+
45+
# Example of a semver regexp.
46+
# Make sure this matches current_version before
47+
# using tbump
48+
regex = '''
49+
(?P<major>\d+)
50+
\.
51+
(?P<minor>\d+)
52+
\.
53+
(?P<patch>\d+)
54+
(?:[-.](?P<rc>[\S]+))?
55+
'''
56+
57+
[tool.tbump.git]
58+
message_template = "Bump to {new_version}"
59+
tag_template = "v{new_version}"
60+
61+
# For each file to patch, add a [[tool.tbump.file]] config
62+
# section containing the path of the file, relative to the
63+
# tbump.toml location.
64+
[[tool.tbump.file]]
65+
src = "setup.py"
66+
67+
[[tool.tbump.file]]
68+
src = "setup.cfg"
69+
70+
[[tool.tbump.file]]
71+
src = "ecs_files_composer/__init__.py"

0 commit comments

Comments
 (0)