Skip to content

Commit 8802c7c

Browse files
committed
ci: add rennovate config
1 parent 7e925db commit 8802c7c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

renovate.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,25 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"config:recommended"
5+
],
6+
"customManagers": [
7+
{
8+
"customType": "regex",
9+
"fileMatch": ["(^|/)CMakeLists\\.txt$", "\\.cmake$"],
10+
"matchStrings": [
11+
"CPMAddPackage\\(\"(?<depName>[^@]+)@(?<currentValue>[^\"#]+)\"\\)"
12+
],
13+
"datasourceTemplate": "github-releases",
14+
"versioningTemplate": "semver"
15+
},
16+
{
17+
"customType": "regex",
18+
"fileMatch": ["(^|/)CMakeLists\\.txt$", "\\.cmake$"],
19+
"matchStrings": [
20+
"CPMAddPackage\\(\"(?<depName>[^@#]+)#(?<currentValue>[^\"]+)\"\\)"
21+
],
22+
"datasourceTemplate": "github-tags",
23+
"versioningTemplate": "loose"
24+
}
525
]
626
}

0 commit comments

Comments
 (0)