Skip to content

Commit d9e4b8a

Browse files
authored
fix: add regex for git tags dependendencies in renovate (#1395)
1 parent e50eaf5 commit d9e4b8a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/renovate.json5

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,26 @@
4545
' *- NR_AUTH_CLIENT_VERSION=(?<currentValue>.+)',
4646
],
4747
},
48+
{
49+
customType: 'regex',
50+
"managerFilePatterns": ["^Cargo\\.toml$"],
51+
"matchStrings": [
52+
"nr-auth = { git = \"https://github\\.com/newrelic/newrelic-auth-rs\\.git\", tag = \"(?<currentValue>\\d+\\.\\d+\\.\\d+)\" }"
53+
],
54+
"depNameTemplate": "newrelic-auth-rs",
55+
"datasourceTemplate": "github-tags",
56+
"lookupNameTemplate": "newrelic/newrelic-auth-rs"
57+
},
58+
{
59+
customType: 'regex',
60+
"managerFilePatterns": ["^Cargo\\.toml$"],
61+
"matchStrings": [
62+
"opamp-client = { git = \"https://github\\.com/newrelic/newrelic-opamp-rs\\.git\", tag = \"(?<currentValue>\\d+\\.\\d+\\.\\d+)\" }"
63+
],
64+
"depNameTemplate": "newrelic-opamp-rs",
65+
"datasourceTemplate": "github-tags",
66+
"lookupNameTemplate": "newrelic/newrelic-opamp-rs"
67+
}
4868
],
4969
rangeStrategy: 'auto',
5070
prConcurrentLimit: 0,

0 commit comments

Comments
 (0)