-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathrenovate.json
59 lines (59 loc) · 2.12 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
54
55
56
57
58
59
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>cake-contrib/renovate-presets:cake-issues"
],
"customManagers": [
{
"customType": "regex",
"description": "Update versions of NuGet packages used in documentation",
"fileMatch": [
"docs/mkdocs.yml$"
],
"matchStrings": [
"\\s*#\\srenovate:\\sdatasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.*?))?\\s*.*?_version\\s*:\\s*(?<currentValue>.*)"
]
},
{
"customType": "regex",
"description": "Nuspec files manager",
"fileMatch": ["\\.nuspec$"],
"matchStringsStrategy": "any",
"matchStrings": [
"<dependency\\s+[^>]*?id=\\\"(?<depName>.*?)\\\"\\s+[^>]*?version=\\\"(?<currentValue>.*?)\\\"[^>]*\\/?>"
],
"datasourceTemplate": "nuget",
"versioningTemplate": "nuget"
},
{
"customType": "regex",
"description": "Update NuGet package versions in C# files",
"fileMatch": [
"build/{{arg0}}$",
"src/{{arg1}}$"
],
"matchStrings": [
"// renovate:( datasource=(?<datasource>.*?))? depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.*?))?\\s*const string \\w*[vV]ersion = \"(?<currentValue>\\S*)\";\\s?"
],
"datasourceTemplate": "nuget",
"versioningTemplate": "nuget"
}
],
"packageRules": [
{
"description": "Ignore Cake runner minor and patch updates",
"matchDepNames": [
"Cake.Tool",
"Cake.Frosting"
],
"matchUpdateTypes": ["minor", "patch"],
"enabled": false
},
{
"description": "Do not update Microsoft.Build.* packages in Cake.Issues.MsBuild since required version depends on the version used in MSBuild.StructuredLogger",
"matchFileNames": ["src/Cake.Issues.MsBuild/Cake.Issues.MsBuild.csproj", "src/Cake.Issues.MsBuild.Tests/Cake.Issues.MsBuild.Tests.csproj"],
"matchDepNames": ["Microsoft.Build.Framework", "Microsoft.Build.Utilities.Core"],
"enabled": false
}
]
}