-
Notifications
You must be signed in to change notification settings - Fork 1
/
renovate.json
53 lines (53 loc) · 2.35 KB
/
renovate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"schedule:earlyMondays",
":combinePatchMinorReleases",
":ignoreUnstable"
],
"regexManagers": [
{
"fileMatch": ["(^|/)package-lock\\.cmake$"],
"matchStrings": [
"CPMDeclarePackage\\s*\\(\\s*\\w+\\s*.*\\s*.*VERSION\\s+\"?(?<currentValue>.*?)\"?\\s+GITHUB_REPOSITORY\\s+\"?(?<depName>.*?)\"?[\\s\\)]",
"CPMDeclarePackage\\s*\\(\\s*\\w+\\s*.*\\s*.*GITHUB_REPOSITORY\\s+\"?(?<depName>.*?)\"?\\s+VERSION\\s+\"?(?<currentValue>.*?)\"?[\\s\\)]"
],
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v?(?<version>.*?)$"
},
{
"fileMatch": ["(^|/)package-lock\\.cmake$"],
"matchStrings": [
"CPMDeclarePackage\\s*\\(\\s*\\w+\\s*.*\\s*.*GIT_TAG\\s+\"?(?<currentValue>.*?[^0-9a-f\\s]+.*|.{1,4}?)\"?\\s+GITHUB_REPOSITORY\\s+\"?(?<depName>.*?)\"?\\s+",
"CPMDeclarePackage\\s*\\(\\s*\\w+\\s*.*\\s*.*GITHUB_REPOSITORY\\s+\"?(?<depName>.*?[^0-9a-f\\s]+.*|.{1,4}?)\"?\\s+GIT_TAG\\s+\"?(?<currentValue>.*?)\"?\\s+"
],
"datasourceTemplate": "github-releases"
},
{
"fileMatch": ["(^|/)package-lock\\.cmake$"],
"matchStrings": [
"CPMDeclarePackage\\s*\\(\\s*\\w+\\s*.*\\s*.*GIT_TAG\\s+\"?(?<currentDigest>[0-9a-f]{5,40}?)\"?\\s+GITHUB_REPOSITORY\\s+?\"?(?<depName>.*?)\"?\\s+",
"CPMDeclarePackage\\s*\\(\\s*\\w+\\s*.*\\s*.*GITHUB_REPOSITORY\\s+\"?(?<depName>[0-9a-f]{5,40}?)\"?\\s+GIT_TAG\\s+?\"?(?<currentDigest>.*?)\"?\\s+"
],
"datasourceTemplate": "git-refs",
"depNameTemplate": "https://github.com/{{{depName}}}.git",
"currentValueTemplate": "master"
},
{
"fileMatch": ["(^|/)\\w+\\.cmake$", "(^|/)CMakeLists\\.cmake$"],
"matchStrings": [
"https:\\/\\/github\\.com\\/(?<depName>[^{}]*?)\\/releases\\/download\\/(?<currentValue>[^{}]*?)\\/"
],
"datasourceTemplate": "github-releases"
},
{
"fileMatch": ["(^|/)\\w+\\.cmake$", "(^|/)CMakeLists\\.cmake$"],
"matchStrings": [
"set\\s*\\(\\s*\\w+VERSION\\s+\"?(?<currentValue>[^v$][^${}]*?)\"?\\s*\\)[\\S\\s]*https:\\/\\/github.com\\/(?<depName>.*?)\\/releases\\/download\\/v\\$\\{\\w+VERSION\\}"
],
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v?(?<version>.*?)$"
}
]
}