fix(renovate): use /regex/ delimiters in fileMatch #16

Merged
jcabillot merged 1 commits from fix/renovate-filematch-regex into master 2026-06-12 10:47:27 -04:00
+12 -9
View File
@@ -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"
} }
] ]
} }