peritus/bumpversion

Second file uses first file search string

TheBurnDoc opened this issue · 0 comments

If you have a config file like the following:

[bumpversion]
current_version = 0.6.5
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?:-rc(?P<rc>\d+))?(?:\+(?P<build>.+))?
serialize = 
	{major}.{minor}.{patch}-rc{rc}+{build}
	{major}.{minor}.{patch}-rc{rc}
	{major}.{minor}.{patch}+{build}
	{major}.{minor}.{patch}
commit = True
tag = True

[bumpversion:file:Chart.yaml]
search = version: {current_version}
replace = version: {new_version}

[bumpversion:file:../ingest-develop/requirements.yaml]
search = 
	- name: ingest-minimal
	version: {current_version}
replace = {new_version}

The search string from the second file is ignored and the one from the first one is used. Am I doing something wrong?