From 7e440fe3f9dea008392118acf4c6ad776ce99c87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Martins?= Date: Fri, 24 Feb 2023 13:30:17 +0100 Subject: [PATCH] add versioning schema for WireGuard in Renovate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, Renovate assumes that the most recent tag in git.zx2c4.com/wireguard-go is the one that starts with "v", which is not always accurate. To resolve this issue, this commit introduces the correct versioning schema using a regex that matches tags without the "v" prefix. This will prevent confusion with Golang's mod versioning scheme, which does use the "v" prefix. Signed-off-by: André Martins --- .github/renovate.json5 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 68d08e7d82664..f1a7be9a393d4 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -193,6 +193,12 @@ "v1.12", "v1.11" ] + }, + { + "matchDepNames": [ + "golang.zx2c4.com/wireguard", + ], + "versioning": "regex:^v0.0.0-(\\d+)-.*$", } ], "kubernetes": {