Skip to content

Commit

Permalink
feat: update devcontainer features' aqua_version (#563)
Browse files Browse the repository at this point in the history
* feat: update devcontainer features' aqua_version

* fix: run cx g
  • Loading branch information
suzuki-shunsuke committed May 7, 2024
1 parent c2bd8f6 commit 8277080
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion default.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"fileMatch": [
"^action\\.ya?ml$",
"^\\.github/.*\\.ya?ml$",
"^\\.circleci/config\\.yml$"
"^\\.circleci/config\\.yml$",
"^\\.devcontainer\\.json$",
"^\\.devcontainer/devcontainer\\.json$"
],
"matchStrings": [
" +(?:aqua_version|'aqua_version'|\"aqua_version\") *: +(?<currentValue>[^'\" \\n]+)",
Expand Down
6 changes: 4 additions & 2 deletions jsonnet/default.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,20 @@ local utils = import 'utils.libsonnet';
customManagers: [
{
// Update aqua-installer action
customType: "regex",
customType: 'regex',
fileMatch: [
'^action\\.ya?ml$',
'^\\.github/.*\\.ya?ml$',
'^\\.circleci/config\\.yml$',
'^\\.devcontainer\\.json$',
'^\\.devcontainer/devcontainer\\.json$',
],
matchStrings: [
' +%s *: +%s' % [utils.wrapQuote('aqua_version'), utils.currentValue],
" +%s *: +'%s'" % [utils.wrapQuote('aqua_version'), utils.currentValue],
' +%s *: +"%s"' % [utils.wrapQuote('aqua_version'), utils.currentValue],
],
versioningTemplate: 'semver', // https://github.com/renovatebot/renovate/discussions/28150#discussioncomment-8925362
versioningTemplate: 'semver', // https://github.com/renovatebot/renovate/discussions/28150#discussioncomment-8925362
depNameTemplate: 'aquaproj/aqua',
datasourceTemplate: 'github-releases',
},
Expand Down

0 comments on commit 8277080

Please sign in to comment.