Skip to content

Commit

Permalink
feat(manager/asdf): support sbt (#25541)
Browse files Browse the repository at this point in the history
  • Loading branch information
MPV committed Nov 1, 2023
1 parent e1f0c16 commit 2163227
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 @@ -92,6 +92,7 @@ pulumi 3.57.1
python 3.11.0
ruby 3.1.2
rust 1.64.0
sbt 1.9.7
scala 3.2.1
shellcheck 0.8.0
shfmt 3.5.1
Expand Down Expand Up @@ -432,6 +433,13 @@ dummy 1.2.3
packageName: 'rust-lang/rust',
depName: 'rust',
},
{
currentValue: '1.9.7',
datasource: 'github-releases',
packageName: 'sbt/sbt',
depName: 'sbt',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '3.2.1',
datasource: 'github-tags',
Expand Down
8 changes: 8 additions & 0 deletions lib/modules/manager/asdf/upgradeable-tooling.ts
Expand Up @@ -452,6 +452,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
packageName: 'rust-lang/rust',
},
},
sbt: {
asdfPluginUrl: 'https://github.com/bram2000/asdf-sbt.git',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'sbt/sbt',
extractVersion: '^v(?<version>\\S+)',
},
},
scala: {
asdfPluginUrl: 'https://github.com/asdf-community/asdf-scala',
config: (version) => {
Expand Down

0 comments on commit 2163227

Please sign in to comment.