Skip to content

Commit

Permalink
feat(manager/asdf): support github-cli (#25525)
Browse files Browse the repository at this point in the history
  • Loading branch information
MPV committed Nov 1, 2023
1 parent 0b7dbbb commit 837c885
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 @@ -63,6 +63,7 @@ erlang 25.1.2
flutter 3.7.6-stable
flux2 0.41.2
gauche 0.9.12
github-cli 2.32.1
gohugo extended_0.104.3
golang 1.19.2
golangci-lint 1.52.2
Expand Down Expand Up @@ -234,6 +235,13 @@ dummy 1.2.3
packageName: 'practicalscheme/gauche',
depName: 'gauche',
},
{
currentValue: '2.32.1',
datasource: 'github-releases',
packageName: 'cli/cli',
depName: 'github-cli',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '0.104.3',
datasource: 'github-releases',
Expand Down
8 changes: 8 additions & 0 deletions lib/modules/manager/asdf/upgradeable-tooling.ts
Expand Up @@ -180,6 +180,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
packageName: 'practicalscheme/gauche',
},
},
'github-cli': {
asdfPluginUrl: 'https://github.com/bartlomiejdanek/asdf-github-cli.git',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'cli/cli',
extractVersion: '^v(?<version>\\S+)',
},
},
gohugo: hugoDefinition,
golang: {
asdfPluginUrl: 'https://github.com/kennyp/asdf-golang',
Expand Down

0 comments on commit 837c885

Please sign in to comment.