Skip to content

Commit fdd3aa1

Browse files
authored
Add Renovate configuration for dependency management
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
1 parent 9c31fa6 commit fdd3aa1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

renovate.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended"
5+
],
6+
"regexManagers": [
7+
{
8+
"fileMatch": ["^CMakeLists\\.txt$"],
9+
"matchStrings": [
10+
"FetchContent_Declare\\(\\s*nanobind\\s+GIT_REPOSITORY\\s+(?<depName>https://github\\.com/[^/]+/[^.]+)\\.git\\s+GIT_TAG\\s+(?<currentValue>v[0-9.]+)"
11+
],
12+
"datasourceTemplate": "github-releases",
13+
"depNameTemplate": "{{{depName}}}",
14+
"extractVersionTemplate": "^v(?<version>.*)$"
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)