@@ -5,34 +5,34 @@ const (
55 CustomType = "regex"
66 DescriptionDeprecated = "Update toolbox tools in Makefile"
77 Description = "Update toolbox tools in .toolbox.mk"
8- FileMatch = `^\ .toolbox\ .mk$ `
8+ ManagerFilePatterns = `.toolbox.mk`
99 MatchString = `# renovate: packageName=(?<packageName>.+?)\s+.+?_VERSION \?= (?<currentValue>.+?)\s`
1010 DatasourceTemplate = "go"
1111)
1212
1313func Config () CustomManager {
1414 return CustomManager {
15- CustomType : CustomType ,
16- Description : Description ,
17- FileMatch : []string {FileMatch },
18- MatchStrings : []string {MatchString },
19- DatasourceTemplate : DatasourceTemplate ,
15+ CustomType : CustomType ,
16+ Description : Description ,
17+ ManagerFilePatterns : []string {ManagerFilePatterns },
18+ MatchStrings : []string {MatchString },
19+ DatasourceTemplate : DatasourceTemplate ,
2020 }
2121}
2222
2323type CustomManagers []CustomManager
2424
2525type CustomManager struct {
26- CustomType string `json:"customType"`
27- Description string `json:"description"`
28- FileMatch []string `json:"fileMatch "`
29- MatchStrings []string `json:"matchStrings"`
30- DatasourceTemplate string `json:"datasourceTemplate"`
26+ CustomType string `json:"customType"`
27+ Description string `json:"description"`
28+ ManagerFilePatterns []string `json:"managerFilePatterns "`
29+ MatchStrings []string `json:"matchStrings"`
30+ DatasourceTemplate string `json:"datasourceTemplate"`
3131}
3232
3333func (m * CustomManager ) UpdateParams () {
3434 m .Description = Description
35- m .FileMatch = []string {FileMatch }
35+ m .ManagerFilePatterns = []string {ManagerFilePatterns }
3636 m .MatchStrings = []string {MatchString }
3737 m .DatasourceTemplate = DatasourceTemplate
3838}
0 commit comments