-
Notifications
You must be signed in to change notification settings - Fork 552
/
.bumbversion.cfg
35 lines (28 loc) · 1.28 KB
/
.bumbversion.cfg
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
[bumpversion]
current_version = 1.4.4
commit = False
tag = False
[bumpversion:file:package.xml]
search = <version>{current_version}</version>
replace = <version>{new_version}</version>
[bumpversion:file:CHANGELOG.rst]
search = Unreleased
replace = {new_version} ({now:%Y-%m-%d})
[bumpversion:file:doc/LinkingProjects.md]
search = find_package(libpointmatcher {current_version} REQUIRED)
replace = find_package(libpointmatcher {new_version} REQUIRED)
[bumpversion:file:build_system/.env.build_matrix.dependencies]
search = NBS_MATRIX_REPOSITORY_VERSIONS=( '{current_version}' 'latest' )
replace = NBS_MATRIX_REPOSITORY_VERSIONS=( '{new_version}' 'latest' )
[bumpversion:file:build_system/.env.build_matrix.libpointmatcher.release]
search = NBS_MATRIX_REPOSITORY_VERSIONS=( '{current_version}' 'latest' )
replace = NBS_MATRIX_REPOSITORY_VERSIONS=( '{new_version}' 'latest' )
[bumpversion:file:pointmatcher/PointMatcher.h]
search = #define POINTMATCHER_VERSION "{current_version}"
replace = #define POINTMATCHER_VERSION "{new_version}"
[bumpversion:file:./pointmatcher/PointMatcher.h]
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
serialize =
{major}0{minor:02d}0{patch:02d}
search = #define POINTMATCHER_VERSION_INT {current_version}
replace = #define POINTMATCHER_VERSION_INT {new_version}