fix(renovate): use regexManagers (deprecated key) to avoid merge conflict
The config:best-practices preset uses regexManagers internally. Using customManagers may cause a merge issue where our entries get dropped. Switch to regexManagers + fileMatch for compatibility.
This commit is contained in:
+7
-13
@@ -1,32 +1,26 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"customManagers": [
|
"regexManagers": [
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
|
||||||
"description": "Track SABnzbd version in Dockerfile",
|
"description": "Track SABnzbd version in Dockerfile",
|
||||||
"managerFilePatterns": ["/^Dockerfile$/"],
|
"fileMatch": ["^Dockerfile$"],
|
||||||
"matchStrings": ["SABNZBD_VERSION=(?<currentValue>[0-9\\.]+)"],
|
"matchStrings": ["SABNZBD_VERSION=(?<currentValue>[0-9\\.]+)"],
|
||||||
"depNameTemplate": "sabnzbd/sabnzbd",
|
"depNameTemplate": "sabnzbd/sabnzbd",
|
||||||
"datasourceTemplate": "github-releases",
|
"datasourceTemplate": "github-releases"
|
||||||
"versioningTemplate": "semver"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
|
||||||
"description": "Track Tini version in Dockerfile",
|
"description": "Track Tini version in Dockerfile",
|
||||||
"managerFilePatterns": ["/^Dockerfile$/"],
|
"fileMatch": ["^Dockerfile$"],
|
||||||
"matchStrings": ["\"TINI_VERSION\"\\s+\"v?(?<currentValue>[0-9\\.]+)\""],
|
"matchStrings": ["\"TINI_VERSION\"\\s+\"v?(?<currentValue>[0-9\\.]+)\""],
|
||||||
"depNameTemplate": "krallin/tini",
|
"depNameTemplate": "krallin/tini",
|
||||||
"datasourceTemplate": "github-releases",
|
"datasourceTemplate": "github-releases"
|
||||||
"versioningTemplate": "semver"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
|
||||||
"description": "Track par2cmdline version in Dockerfile",
|
"description": "Track par2cmdline version in Dockerfile",
|
||||||
"managerFilePatterns": ["/^Dockerfile$/"],
|
"fileMatch": ["^Dockerfile$"],
|
||||||
"matchStrings": ["PAR2CMDLINE_VERSION=v?(?<currentValue>[\\w\\.-]+)"],
|
"matchStrings": ["PAR2CMDLINE_VERSION=v?(?<currentValue>[\\w\\.-]+)"],
|
||||||
"depNameTemplate": "jkansanen/par2cmdline-mt",
|
"depNameTemplate": "jkansanen/par2cmdline-mt",
|
||||||
"datasourceTemplate": "github-tags",
|
"datasourceTemplate": "github-tags"
|
||||||
"versioningTemplate": "semver-coerced"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user