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",