-
Notifications
You must be signed in to change notification settings - Fork 131
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
File search and replace fails with Helm charts #117
Comments
Could you share your full |
you can do multiple lines with the search/replace as long as you format it correctly in your bumpversion.cfg:
|
@jpettit For full semver support, you could use
If
|
When I attempt the multi-line search and replace I get the following, which seems to duplicate the old version context:
My configuration:
|
the multiline is tricky and requires an indentation, could you share the full |
Just added - sorry. |
Okay, the multiple |
weird just did a check and it works locally for me, are you on the latest version? |
Python 3.7
May want to add a |
|
The solution for me was to do the following to avoid these strange issues. I got the tip from #122 to just treat pre-release and build semver parts as a commit style parse of
The above assumes I explicitly set my
And it's all working quite beautifully. |
Nice to hear. For people trying similar things, it's also an option to deliver the commit ID as an environment variable and use |
I'm attempting to use bump2version to update a Helm chart. A helm chart is a yaml file that contains the following two version fields on two separate lines:
A
.bumpversion.cfg
that contains a filesearch
andreplace
will work if only patching any of[major|minor|patch]
, but doesn't seem to work when patching something likebuild
.What does work when bumping
[major|minor|patch]
viabump2version patch
:What does NOT work when bumping
build
viabump2version build
😕
The text was updated successfully, but these errors were encountered: