Skip to content

Commit

Permalink
fix: renovate regex
Browse files Browse the repository at this point in the history
Renovate regex doesn't support negative lookaheads.
For glibc the tag suffix to always ignore is `9000`, so just match
versions that have patch versions matching upto `999`.

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo committed Feb 17, 2023
1 parent 8cb8014 commit 370a093
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,16 @@
{
"matchPackageNames": [
"golang/go",
"nvidia/open-gpu-kernel-modules"
"nvidia/open-gpu-kernel-modules",
"open-iscsi/open-isns"
],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>\\d+)?$"
},
{
"matchPackageNames": [
"https://sourceware.org/git/glibc.git"
],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>(?!9000$)\\d+)?$"
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>[0-9]{1,3})?$"
},
{
"matchPackagePatterns": [
Expand Down

0 comments on commit 370a093

Please sign in to comment.