fix(renovate): use /regex/ delimiters in fileMatch + proven match pattern
fileMatch without / / delimiters is treated as glob, not regex. Use /^Dockerfile$/ format. Also adopt [\\w\\.-]+ version pattern and add versioningTemplate: semver per user's working config style.
This commit is contained in:
+12
-9
@@ -4,26 +4,29 @@
|
|||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"description": "Detect SABnzbd release version pin",
|
"description": "Detect SABnzbd release version pin",
|
||||||
"fileMatch": ["^Dockerfile$"],
|
"fileMatch": ["/^Dockerfile$/"],
|
||||||
"matchStrings": ["SABNZBD_VERSION=(?<currentValue>[0-9.]+)"],
|
"matchStrings": ["SABNZBD_VERSION=(?<currentValue>[\\w\\.-]+)"],
|
||||||
"depNameTemplate": "sabnzbd/sabnzbd",
|
"depNameTemplate": "sabnzbd/sabnzbd",
|
||||||
"datasourceTemplate": "github-releases"
|
"datasourceTemplate": "github-releases",
|
||||||
|
"versioningTemplate": "semver"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"description": "Detect Tini release version pin",
|
"description": "Detect Tini release version pin",
|
||||||
"fileMatch": ["^Dockerfile$"],
|
"fileMatch": ["/^Dockerfile$/"],
|
||||||
"matchStrings": ["\"TINI_VERSION\"\\s+\"v?(?<currentValue>[0-9.]+)\""],
|
"matchStrings": ["\"TINI_VERSION\"\\s+\"v?(?<currentValue>[\\w\\.-]+)\""],
|
||||||
"depNameTemplate": "krallin/tini",
|
"depNameTemplate": "krallin/tini",
|
||||||
"datasourceTemplate": "github-releases"
|
"datasourceTemplate": "github-releases",
|
||||||
|
"versioningTemplate": "semver"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"description": "Detect par2cmdline release version pin",
|
"description": "Detect par2cmdline release version pin",
|
||||||
"fileMatch": ["^Dockerfile$"],
|
"fileMatch": ["/^Dockerfile$/"],
|
||||||
"matchStrings": ["PAR2CMDLINE_VERSION=v?(?<currentValue>[0-9a-z.]+-mt\\d+)"],
|
"matchStrings": ["PAR2CMDLINE_VERSION=v?(?<currentValue>[\\w\\.-]+)"],
|
||||||
"depNameTemplate": "jkansanen/par2cmdline-mt",
|
"depNameTemplate": "jkansanen/par2cmdline-mt",
|
||||||
"datasourceTemplate": "github-tags"
|
"datasourceTemplate": "github-tags",
|
||||||
|
"versioningTemplate": "semver"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user