From eae6d990ae37abd22cd24971e5d3c4be959707f1 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Fri, 21 Jul 2023 19:56:32 -0400 Subject: [PATCH] chore: update renovate config --- .github/renovate.json5 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 869eeb16..071d828f 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -53,9 +53,13 @@ "(^|/)addons/.+\\.ya?ml(\\.j2)?$" ], "matchStrings": [ - "datasource=(?\\S+) depName=(?\\S+)( registryUrl=(?\\S+))?\n.*?\"(?.*)\"\n" + // Example: `k3s_release_version: "v1.27.3+k3s1"` + "datasource=(?\\S+) depName=(?\\S+)( versioning=(?\\S+))?\n.*?\"(?.*)\"\n", + // Example: `- https://github.com/rancher/system-upgrade-controller/releases/download/v0.11.0/crd.yaml` + "datasource=(?\\S+) depName=(?\\S+)( versioning=(?\\S+))?\n.*?-\\s(.*?)\/(?[^/]+)\/[^/]+\n" ], - "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}" + "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}", + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" } ] }