From d8205bb47dba429281e63bd1c0477e5109e8e693 Mon Sep 17 00:00:00 2001 From: hemanthmanga <166606741+hemanthmanga@users.noreply.github.com> Date: Thu, 20 Mar 2025 00:03:56 +0530 Subject: [PATCH] [Ubuntu] Updating SBT version regex pattern (#11835) --- images/ubuntu/scripts/docs-gen/SoftwareReport.Common.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/ubuntu/scripts/docs-gen/SoftwareReport.Common.psm1 b/images/ubuntu/scripts/docs-gen/SoftwareReport.Common.psm1 index 73e3e1f3e..d4ebbebb5 100644 --- a/images/ubuntu/scripts/docs-gen/SoftwareReport.Common.psm1 +++ b/images/ubuntu/scripts/docs-gen/SoftwareReport.Common.psm1 @@ -207,7 +207,7 @@ function Get-MavenVersion { function Get-SbtVersion { $result = Get-CommandResult "sbt -version" - $result.Output -match "sbt script version: (?\d+\.\d+\.\d+)" | Out-Null + $result.Output -match "sbt runner version: (?\d+\.\d+\.\d+)" | Out-Null return $Matches.version }