forked from DeepLcom/deepl-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bumpversion.toml
More file actions
26 lines (23 loc) · 804 Bytes
/
.bumpversion.toml
File metadata and controls
26 lines (23 loc) · 804 Bytes
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
# Configuration file for bumpversion GitHub action
# See https://github.com/callowayproject/bump-my-version
[tool.bumpversion]
current_version = "1.29.0"
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
tag = false
allow_dirty = false
commit = false
[[tool.bumpversion.files]]
filename = "deepl/version.py"
[[tool.bumpversion.files]]
filename = "tests/test_general.py"
search = "\"{current_version}\" == deepl.__version__"
replace = "\"{new_version}\" == deepl.__version__"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = "name = \"deepl\"\nversion = \"{current_version}\""
replace = "name = \"deepl\"\nversion = \"{new_version}\""