modify .bumpversion.cfg for separate repo for hardware

This commit is contained in:
2022-10-29 14:13:46 -06:00
parent 96ade834be
commit 6a3e9bc3d7

View File

@@ -1,17 +0,0 @@
[bumpversion]
current_version = 0.1
serialize = {major}.{minor}
parse = (?P<major>\d+).(?P<minor>\d+)
commit = True
message = Bump version: hardware {current_version} → {new_version}
tag = True
tag_name = hardware-mellifera-v{new_version}
tag_message = Bump version: hardware {current_version} → {new_version}
[bumpversion:glob:*.kicad_pcb]
search = (property "PCB_REVISION" "{current_version}")
replace = (property "PCB_REVISION" "{new_version}")
[bumpversion:glob:*.kicad_pro]
search = "PCB_REVISION": "{current_version}"
replace = "PCB_REVISION": "{new_version}"