Skip to content

Commit

Permalink
feat(manager/asdf): support asdf-plugin-manager (#25539)
Browse files Browse the repository at this point in the history
  • Loading branch information
MPV committed Nov 1, 2023
1 parent cbcb315 commit 0db0bf0
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
Expand Up @@ -46,6 +46,7 @@ describe('modules/manager/asdf/extract', () => {
codeBlock`
adr-tools 3.0.0
argocd 2.5.4
asdf-plugin-manager 1.1.1
awscli 2.8.6
bun 0.2.2
cargo-make 0.36.2
Expand Down Expand Up @@ -128,6 +129,13 @@ dummy 1.2.3
depName: 'argocd',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '1.1.1',
datasource: 'github-releases',
packageName: 'asdf-community/asdf-plugin-manager',
depName: 'asdf-plugin-manager',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '2.8.6',
datasource: 'github-tags',
Expand Down
8 changes: 8 additions & 0 deletions lib/modules/manager/asdf/upgradeable-tooling.ts
Expand Up @@ -54,6 +54,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>\\S+)',
},
},
'asdf-plugin-manager': {
asdfPluginUrl: 'https://github.com/asdf-community/asdf-plugin-manager',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'asdf-community/asdf-plugin-manager',
extractVersion: '^v(?<version>\\S+)',
},
},
awscli: {
asdfPluginUrl: 'https://github.com/MetricMike/asdf-awscli',
config: {
Expand Down

0 comments on commit 0db0bf0

Please sign in to comment.