mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
fix(replacements): fix matchPackageNames preset migrations (#30471)
This commit is contained in:
@@ -339,9 +339,8 @@ const staticGroups = {
|
||||
{
|
||||
commitMessageTopic: 'Node.js',
|
||||
matchDatasources: ['docker'],
|
||||
matchDepNames: ['node'],
|
||||
matchPackageNames: [
|
||||
'//node$/', // Ends with "node"
|
||||
'/(^/)node$/', // node or ends with "/node, except those below"
|
||||
'!calico/node',
|
||||
'!docker.io/calico/node',
|
||||
'!kindest/node',
|
||||
@@ -579,6 +578,9 @@ const staticGroups = {
|
||||
{
|
||||
groupName: 'spring boot',
|
||||
matchDepNames: ['org.springframework.boot'],
|
||||
},
|
||||
{
|
||||
groupName: 'spring boot',
|
||||
matchPackageNames: ['org.springframework.boot:**'],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -170,8 +170,10 @@
|
||||
"description": "Replace `renovate` `slim` docker tag with `latest`.",
|
||||
"matchCurrentValue": "/^slim$/",
|
||||
"matchDatasources": ["docker"],
|
||||
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
|
||||
"matchPackageNames": ["/^(?:docker\\.io/)?renovate/renovate$/"],
|
||||
"matchPackageNames": [
|
||||
"ghcr.io/renovatebot/renovate",
|
||||
"/^(?:docker\\.io/)?renovate/renovate$/"
|
||||
],
|
||||
"replacementVersion": "latest"
|
||||
},
|
||||
{
|
||||
@@ -179,8 +181,10 @@
|
||||
"extractVersion": "^(?<version>.+)-slim$",
|
||||
"matchCurrentValue": "/-slim$/",
|
||||
"matchDatasources": ["docker"],
|
||||
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
|
||||
"matchPackageNames": ["/^(?:docker\\.io/)?renovate/renovate$/"],
|
||||
"matchPackageNames": [
|
||||
"ghcr.io/renovatebot/renovate",
|
||||
"/^(?:docker\\.io/)?renovate/renovate$/"
|
||||
],
|
||||
"versioning": "semver"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user