Skip to content

Commit

Permalink
add versioning schema for WireGuard in Renovate
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
aanm committed Feb 27, 2023
1 parent d96d489 commit 7e440fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@
"v1.12",
"v1.11"
]
},
{
"matchDepNames": [
"golang.zx2c4.com/wireguard",
],
"versioning": "regex:^v0.0.0-(<patch>\\d+)-.*$",
}
],
"kubernetes": {
Expand Down

0 comments on commit 7e440fe

Please sign in to comment.