Skip to content

Commit

Permalink
fix: change versioningTemplate to versioning (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored Mar 27, 2024
1 parent 7610487 commit 8c5b72a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion default.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
" +(?:aqua_version|'aqua_version'|\"aqua_version\") *: +(?<currentValue>[^'\" \\n]+)",
" +(?:aqua_version|'aqua_version'|\"aqua_version\") *: +'(?<currentValue>[^'\" \\n]+)'",
" +(?:aqua_version|'aqua_version'|\"aqua_version\") *: +\"(?<currentValue>[^'\" \\n]+)\""
]
],
"versioningTemplate": "semver"
},
{
"customType": "regex",
Expand Down
6 changes: 4 additions & 2 deletions installer-script.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
],
"matchStrings": [
"raw\\.githubusercontent\\.com/aquaproj/aqua-installer/(?<currentValue>[^'\" \\n]+)/aqua-installer"
]
],
"versioningTemplate": "semver"
},
{
"customType": "regex",
Expand All @@ -22,7 +23,8 @@
"aqua-installer +(\\| +(ba|z)?sh +-s +-- +)?(-i +\\S+ +)?-v +(?<currentValue>[^'\" \\n]+)\\s",
"aqua-installer +(\\| +(ba|z)?sh +-s +-- +)?(-i +\\S+ +)?-v +'(?<currentValue>[^'\" \\n]+)'\\s",
"aqua-installer +(\\| +(ba|z)?sh +-s +-- +)?(-i +\\S+ +)?-v +\"(?<currentValue>[^'\" \\n]+)\"\\s"
]
],
"versioningTemplate": "semver"
}
]
}
1 change: 1 addition & 0 deletions jsonnet/default.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ local utils = import 'utils.libsonnet';
" +%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
depNameTemplate: 'aquaproj/aqua',
datasourceTemplate: 'github-releases',
},
Expand Down
2 changes: 2 additions & 0 deletions jsonnet/installer-script.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ local utils = import 'utils.libsonnet';
],
datasourceTemplate: 'github-releases',
depNameTemplate: 'aquaproj/aqua-installer',
versioningTemplate: 'semver', // https://github.com/renovatebot/renovate/discussions/28150#discussioncomment-8925362
},
{
customType: "regex",
Expand All @@ -21,6 +22,7 @@ local utils = import 'utils.libsonnet';
],
datasourceTemplate: 'github-releases',
depNameTemplate: 'aquaproj/aqua',
versioningTemplate: 'semver', // https://github.com/renovatebot/renovate/discussions/28150#discussioncomment-8925362
},
],
}

0 comments on commit 8c5b72a

Please sign in to comment.