Skip to content

Commit 3f87797

Browse files
authored
Use new renovate confix
1 parent 297b268 commit 3f87797

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

renovate.json

+15-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,22 @@
66
"customType": "regex",
77
"description": "Update curl Version",
88
"fileMatch": ["Dockerfile"],
9-
"matchStrings": ["curl-(?<currentValue>\\d+\\.\\d+\\.\\d+)\\.tar\\.gz"],
10-
"datasourceTemplate": "github-releases",
9+
"matchStrings": ["(?<currentValue>curl-\\d+\\.\\d+\\.\\d+)"],
10+
"datasourceTemplate": "custom.curl",
1111
"depNameTemplate": "curl/curl",
12-
"versioningTemplate": "regex:^(?:curl-)?(?<major>\\d+)[_.](?<minor>\\d+)[_.](?<patch>\\d+)$"
12+
"versioningTemplate": "regex:curl-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)"
13+
}
14+
],
15+
"customDatasources": {
16+
"curl": {
17+
"defaultRegistryUrlTemplate": "https://curl.se/download.html",
18+
"format": "html"
19+
}
20+
},
21+
"packageRules": [
22+
{
23+
"matchDatasources": ["custom.curl"],
24+
"extractVersion": "/curl-(?<version>.+)\\.tar\\.gz$"
1325
}
1426
]
1527
}

0 commit comments

Comments
 (0)