From 5a4d3f23d7ba443fb9dc5e016ce6c87e5f051192 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Tue, 2 Jan 2024 11:39:55 +0000 Subject: [PATCH] Add a custom datasource for the VUISS DAX plugin --- .renovaterc.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.renovaterc.json b/.renovaterc.json index d89ed54..bb4dc87 100644 --- a/.renovaterc.json +++ b/.renovaterc.json @@ -13,6 +13,14 @@ "versioning": "loose" } ], + "customDatasources": { + "VUIIS-dax": { + "defaultRegistryUrlTemplate": "https://api.github.com/repos/VUIIS/dax/contents/misc/xnat-plugins", + "transformTemplates": [ + "{\"releases\": $.{\"version\": $join([\"v\", $match(name, /(\\d+\\.)?(\\d+\\.)?(\\*|\\d+)/ ).match ])}}" + ] + } + }, "customManagers": [ { "customType": "regex", @@ -69,7 +77,7 @@ "fileMatch": ["roles/xnat/defaults/main.yml$"], "matchStrings": ["dax-plugin-genProcData-(?.*?).jar"], "depNameTemplate": "VUIIS/dax", - "datasourceTemplate": "github-releases" + "datasourceTemplate": "custom.VUIIS-dax" }, { "customType": "regex",