[Ubuntu] Updating SBT version regex pattern (#11835)

This commit is contained in:
hemanthmanga
2025-03-20 00:03:56 +05:30
committed by GitHub
parent fa021fd172
commit d8205bb47d

View File

@@ -207,7 +207,7 @@ function Get-MavenVersion {
function Get-SbtVersion {
$result = Get-CommandResult "sbt -version"
$result.Output -match "sbt script version: (?<version>\d+\.\d+\.\d+)" | Out-Null
$result.Output -match "sbt runner version: (?<version>\d+\.\d+\.\d+)" | Out-Null
return $Matches.version
}