Skip to content

Commit ec8ef01

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

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

renovate.json

+12-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@
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+)"
1313
}
14-
]
14+
],
15+
"customDatasources": {
16+
"curl": {
17+
"defaultRegistryUrlTemplate": "https://api.github.com/repos/curl/curl/releases/latest",
18+
"transformTemplates": [
19+
"$single(assets, function($item) {$contains($item.name, \".tar.gz\") and ($contains($item.name, \".asc\") != true)}).name"
20+
]
21+
}
22+
}
1523
}

0 commit comments

Comments
 (0)