Skip to content

Commit

Permalink
feat(manager/asdf): add asdf protoc support (#32646)
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzatron authored Nov 22, 2024
1 parent 2b8cd76 commit 22e7984
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 @@ php 8.1.12
pnpm 7.26.2
poetry 1.3.2
pre-commit 3.3.1
protoc 28.3
pulumi 3.57.1
python 3.11.0
rebar 3.23.0
Expand Down Expand Up @@ -559,6 +560,13 @@ dummy 1.2.3
depName: 'pre-commit',
extractVersion: '^v(?<version>.+)',
},
{
currentValue: '28.3',
datasource: 'github-releases',
packageName: 'protocolbuffers/protobuf',
depName: 'protoc',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '3.57.1',
datasource: 'github-releases',
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 @@ -569,6 +569,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>.+)',
},
},
protoc: {
asdfPluginUrl: 'https://github.com/paxosglobal/asdf-protoc.git',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'protocolbuffers/protobuf',
extractVersion: '^v(?<version>\\S+)',
},
},
pulumi: {
asdfPluginUrl: 'https://github.com/canha/asdf-pulumi.git',
config: {
Expand Down

0 comments on commit 22e7984

Please sign in to comment.