-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bumpversion.cfg
36 lines (28 loc) · 1.1 KB
/
.bumpversion.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
36
[bumpversion]
current_version = 1.5.0
[bumpversion:file:CITATION.cff]
search = software version
version: {current_version}
replace = software version
version: {new_version}
[bumpversion:file:CMakeLists.txt]
search = PowerSensor3 VERSION {current_version}
replace = PowerSensor3 VERSION {new_version}
[bumpversion:file:host/include/PowerSensor.hpp]
search = POWERSENSOR_VERSION = "{current_version}";
replace = POWERSENSOR_VERSION = "{new_version}";
[bumpversion:file(F401):device/PowerSensor/PowerSensor.ino]
search = VERSION "F401-{current_version}"
replace = VERSION "F401-{new_version}"
[bumpversion:file(F411):device/PowerSensor/PowerSensor.ino]
search = VERSION "F411-{current_version}"
replace = VERSION "F411-{new_version}"
[bumpversion:file(F407):device/PowerSensor/PowerSensor.ino]
search = VERSION "F407-{current_version}"
replace = VERSION "F407-{new_version}"
[bumpversion:file:docs/conf.py]
search = release = '{current_version}'
replace = release = '{new_version}'
[bumpversion:file:python/PyPowerSensor.cc]
search = ("__version__") = "{current_version}"
replace = ("__version__") = "{new_version}"