How to group "major" and "minor" for specific updates when using :separateMajorReleases #25831
-
How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us what version of Renovate you run.37.59.8 If you're self-hosting Renovate, select which platform you are using.GitLab self-hosted Was this something which used to work for you, and then stopped?I never saw this working Wanted end result.We usually want to separate minor and major releases, which is why we are using However, in the complicated world of Angular updates, we need to group some major updates with certain minor updates. For example: Angular is very strict about the needed versions, and the latter always leads to the Renovate merge request not being able to So tl;dr: The wanted end result is a package rule (or set thereof) that makes it possible to combine the needed minor upgrades into the same branch as the major upgrade while still separating major, minor, and patch releases for all other dependencies. What you tried so far.We currently have tried these rules: packageRules: [
{
groupName: "Angular Major",
groupSlug: "angular-major",
matchUpdateTypes: ["major"],
matchSourceUrls: [
"https://github.com/angular/angular",
"https://github.com/angular/angular-cli",
],
},
{
groupName: "Angular Major",
matchUpdateTypes: ["minor"],
matchPackageNames: ["zone.js", "@angular-devkit/architect"],
},
} However, because we extend Relevant debug logsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Neither of these settings are relevant to "separate minor and major releases". The relevant settings is separateMajorMinor, which defaults to true. You should remove both these settings if that's your only reason, because it will make everything else you're asking about more complicated |
Beta Was this translation helpful? Give feedback.
-
What are the current branch names for the two updates you want to combine? |
Beta Was this translation helpful? Give feedback.
-
I came across this thread as I had the same desire to group updates of I couldn't get the solution above to work. But I was able to solve it by configuring the versioning of
this way the correct corresponding version of |
Beta Was this translation helpful? Give feedback.
Try adding
"groupSlug": "major-angular-major"
to the second packageRule