-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy path.bumpversion.toml
More file actions
33 lines (29 loc) · 1.04 KB
/
.bumpversion.toml
File metadata and controls
33 lines (29 loc) · 1.04 KB
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
# Configuration file for bumpversion
# See https://github.com/callowayproject/bump-my-version
[tool.bumpversion]
current_version = "1.26.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 = "src/translator.ts"
search = "deepl-node/{current_version}"
replace = "deepl-node/{new_version}"
[[tool.bumpversion.files]]
filename = "package.json"
search = "\"version\": \"{current_version}\""
replace = "\"version\": \"{new_version}\""
[[tool.bumpversion.files]]
filename = "package-lock.json"
search = "\"deepl-node\",\n \"version\": \"{current_version}\""
replace = "\"deepl-node\",\n \"version\": \"{new_version}\""
[[tool.bumpversion.files]]
filename = "package-lock.json"
search = "\"deepl-node\",\n \"version\": \"{current_version}\""
replace = "\"deepl-node\",\n \"version\": \"{new_version}\""