From 5f6f4c01e440a5f9f240d6345467153b4d3d74ef Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Mon, 17 Jan 2022 03:13:58 +0100 Subject: [PATCH] ci(renovate): Fix regex for helm version detection This patch adds the \\s (space character) at the end of the regex in, to make sure it always matches the whole line, not just the first character of the version number, since the `?` at the end of the `<currentValue>` regex match indicates that the regex match should be as short as possible. --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 167a4dbe6..0966ad21a 100644 --- a/renovate.json +++ b/renovate.json @@ -12,7 +12,7 @@ { "fileMatch": ["release.yaml$"], "matchStrings": [ - "# renovate: helmRepo=(?<registryUrl>.*?) depName=(?<depName>.*?)\\n\\s+version: \"?'?(?<currentValue>[^\"]+?)\"?'?" + "# renovate: helmRepo=(?<registryUrl>.*?) depName=(?<depName>.*?)\\n\\s+version: \"?'?(?<currentValue>[^\"]+?)\"?'?\\s" ], "datasourceTemplate": "helm", "versioningTemplate": "semver" -- GitLab