Support for bumpVersion when updating via regexManager #27602
Replies: 3 comments 6 replies
-
I like the idea. {
"bumpVersion": "minor"
} For the current behavior in which the manager decides where to update {
"bumpVersion": {
"fileMatch": "aFile.yml",
"matchStrings": [
"version:\\s+(?<version>\\S*)"
]
}
} |
Beta Was this translation helpful? Give feedback.
-
Hi there, Please do not unnecessarily For example, never It's OK to comment in an issue or discussion after multiple days or weeks. But please, still don't Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
Created an issue #28045 |
Beta Was this translation helpful? Give feedback.
-
Tell us more.
I'm coming from #8231
In some cases, I still have to work with regexManager to detect dependencies in helm values files. However, Renovate would not update the Chart.yaml in such scenarios.
Almost every helm chart maintainer uses helm/chart-releaser + helm/chart-testing which requires a version bump in the same PR. Normally, each PR bumps the version of the helm charts which will be automatically released.
Currently, renovate does not support this pattern.
The best possible solution in my mind, if bumpVersion would support an list of file + regex. Should would be a more generic approach and would work for any future scenarios.
Example Config: https://github.com/jkroepke/helm-charts/blob/main/renovate.json
Example Dependency: https://github.com/jkroepke/helm-charts/blob/5385315530627a5a6214d3730223ba0da5a82d4d/charts/github-exporter/Chart.yaml#L6-L7
Example PR: https://github.com/jkroepke/helm-charts/pull/55/files
Beta Was this translation helpful? Give feedback.
All reactions