Repository navigation
Expand file tree
/
Copy path.bumpversion.toml
More file actions
69 lines (56 loc) · 2.32 KB
/
Copy path.bumpversion.toml
File metadata and controls
69 lines (56 loc) · 2.32 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
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
63
64
65
66
67
68
69
[tool.bumpversion]
current_version = "8.0.1.2"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<build>\\d+))?"
serialize = ["{major}.{minor}.{patch}.{build}", "{major}.{minor}.{patch}"]
commit = true
tag = false
tag_name = "{new_version}"
[[tool.bumpversion.files]]
filename = "README.md"
search = "pythonocc-binderhub/{current_version}"
replace = "pythonocc-binderhub/{new_version}"
[[tool.bumpversion.files]]
filename = "README.md"
regex = true
search = "\\[pythonocc-core {current_version}\\]\\(https://github\\.com/tpaviot/pythonocc-core/releases/tag/{current_version}\\) \\(\\d{{4}}-\\d{{2}}-\\d{{2}}\\)"
replace = "[pythonocc-core {new_version}](https://github.com/tpaviot/pythonocc-core/releases/tag/{new_version}) ({now:%Y-%m-%d})"
[[tool.bumpversion.files]]
filename = "README.md"
search = "to open a jupyter notebook running the latest pythonocc-core {current_version}."
replace = "to open a jupyter notebook running the latest pythonocc-core {new_version}."
[[tool.bumpversion.files]]
filename = "README.md"
search = "conda install -c conda-forge pythonocc-core={current_version}"
replace = "conda install -c conda-forge pythonocc-core={new_version}"
[[tool.bumpversion.files]]
filename = "CMakeLists.txt"
search = "VERSION_MAJOR {current_major}"
replace = "VERSION_MAJOR {new_major}"
[[tool.bumpversion.files]]
filename = "CMakeLists.txt"
search = "VERSION_MINOR {current_minor}"
replace = "VERSION_MINOR {new_minor}"
[[tool.bumpversion.files]]
filename = "CMakeLists.txt"
search = "VERSION_PATCH {current_patch}"
replace = "VERSION_PATCH {new_patch}"
[[tool.bumpversion.files]]
filename = "src/PkgBase/__init__.py"
search = "PYTHONOCC_VERSION_MAJOR = {current_major}"
replace = "PYTHONOCC_VERSION_MAJOR = {new_major}"
[[tool.bumpversion.files]]
filename = "src/PkgBase/__init__.py"
search = "PYTHONOCC_VERSION_MINOR = {current_minor}"
replace = "PYTHONOCC_VERSION_MINOR = {new_minor}"
[[tool.bumpversion.files]]
filename = "src/PkgBase/__init__.py"
search = "PYTHONOCC_VERSION_PATCH = {current_patch}"
replace = "PYTHONOCC_VERSION_PATCH = {new_patch}"
[[tool.bumpversion.files]]
filename = "ci/conda/meta.yaml"
search = "set version = \"{current_version}\""
replace = "set version = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "ci/conda/meta.yaml"
search = "- occt =={current_version}"
replace = "- occt =={new_version}"