renovate: make exclusion of CalVer non-patch/-minor upgrades work
All checks were successful
/ Ansible Lint (push) Successful in 2m27s
All checks were successful
/ Ansible Lint (push) Successful in 2m27s
Pretix and Pretalx both use CalVer, so we don't want to have upgrades to their second number be identified as minor updates and get grouped with all the other minor and patch updates. The regex to re-classify the second number as major doesn't work. Probably because of: "Important: all capture groups must contain only purely numeric values." (https://docs.renovatebot.com/modules/versioning/regex/) So instead match on the minor update type for Pretix and Pretalx and set the group name to null.
This commit is contained in:
parent
e98f6d68bd
commit
f345ff5e00
1 changed files with 4 additions and 2 deletions
|
|
@ -35,12 +35,14 @@
|
|||
{
|
||||
"matchDatasources": ["docker"],
|
||||
"matchPackageNames": ["docker.io/pretix/standalone"],
|
||||
"versioning": "regex:^(?<major>\\d+\\.\\d+)(?:\\.(?<minor>\\d+))$"
|
||||
"matchUpdateTypes": ["minor"],
|
||||
"groupName": null
|
||||
},
|
||||
{
|
||||
"matchDatasources": ["docker"],
|
||||
"matchPackageNames": ["docker.io/pretalx/standalone"],
|
||||
"versioning": "regex:^v(?<major>\\d+\\.\\d+)(?:\\.(?<minor>\\d+))$"
|
||||
"matchUpdateTypes": ["minor"],
|
||||
"groupName": null
|
||||
}
|
||||
],
|
||||
"customManagers": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue