Skip to content

Commit

Permalink
feat: add the preset base
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Dec 28, 2021
1 parent bdd4b4f commit 11f7a4b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
17 changes: 17 additions & 0 deletions base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"regexManagers": [
{
"fileMatch": ["\\.?aqua\\.ya?ml"],
"matchStrings": [
" +(version|ref): (?<currentValue>[^'\"\\n]*) +# renovate: depName=(?<depName>[^\\n]+)",
" +(version|ref): \"(?<currentValue>[^'\"\\n]*)\" +# renovate: depName=(?<depName>[^\\n]+)",
" +(version|ref): '(?<currentValue>[^'\"\\n]*)' +# renovate: depName=(?<depName>[^\\n]+)",
" +name: (?<depName>[^'\"\\n]*)@(?<currentValue>[^'\"\\n]+)",
" +name: \"(?<depName>[^'\\n]*)@(?<currentValue>[^'\"\\n]+)\"",
" +name: '(?<depName>[^\"\\n]*)@(?<currentValue>[^'\"\\n]+)'"
],
"datasourceTemplate": "github-releases"
}
]
}

9 changes: 9 additions & 0 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
" +name: '(?<depName>[^\"\\n]*)@(?<currentValue>[^'\"\\n]+)'"
],
"datasourceTemplate": "github-releases"
},
{
"fileMatch": ["^\\.github/.*\\.ya?ml$"],
"matchStrings": [
"aqua_version: (?<currentValue>.*?)\\n",
"aqua_version: (?<currentValue>.*?) +#.*\\n"
],
"depNameTemplate": "aquaproj/aqua",
"datasourceTemplate": "github-releases"
}
]
}

0 comments on commit 11f7a4b

Please sign in to comment.