Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second file uses first file search string #195

Open
TheBurnDoc opened this issue Nov 17, 2018 · 0 comments
Open

Second file uses first file search string #195

TheBurnDoc opened this issue Nov 17, 2018 · 0 comments

Comments

@TheBurnDoc
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant