Skip to content

Commit

Permalink
feat(manager/asdf): support yq (#26799)
Browse files Browse the repository at this point in the history
  • Loading branch information
MPV committed Jan 22, 2024
1 parent 971553b commit 91ced24
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/modules/manager/asdf/extract.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ tflint 0.44.1
tfsec 1.28.1
trivy 0.33.0
vault 1.15.1
yq 4.40.5
zig 0.9.1
maestro 1.24.0
detekt 1.21.0
Expand Down Expand Up @@ -540,6 +541,13 @@ dummy 1.2.3
depName: 'vault',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '4.40.5',
datasource: 'github-releases',
packageName: 'mikefarah/yq',
depName: 'yq',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '0.9.1',
datasource: 'github-tags',
Expand Down
8 changes: 8 additions & 0 deletions lib/modules/manager/asdf/upgradeable-tooling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>\\S+)',
},
},
yq: {
asdfPluginUrl: 'https://github.com/sudermanjr/asdf-yq',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'mikefarah/yq',
extractVersion: '^v(?<version>\\S+)',
},
},
zig: {
asdfPluginUrl: 'https://github.com/cheetah/asdf-zig',
config: {
Expand Down

0 comments on commit 91ced24

Please sign in to comment.