Skip to content

Commit

Permalink
feat: added custom datasource for dnsmasq
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Mar 25, 2024
1 parent 7efdfd8 commit 05fd790
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,38 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"branchPrefix": "renovate-",
"branchNameStrict": true,
"ignorePaths": [
"**/ui/**"
],
"packageRules": [
{
"matchPackageNames": [
"node"
],
"allowedVersions": "<= 18"
}
],
"customDatasources": {
"dnsmasq": {
"defaultRegistryUrlTemplate": "https://dnsmasq.org/",
"format": "html"
}
},
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"build-images.sh"
],
"matchStrings": [
"DNSMASQ_VERSION=(?<currentValue>[^\\s]+)$"
],
"depNameTemplate": "dnsmasq",
"datasourceTemplate": "custom.dnsmasq",
"extractVersionTemplate": "^dnsmasq-(?<version>.+?)\\.tar.gz$"
}
]
}

0 comments on commit 05fd790

Please sign in to comment.