From a4f14eb69778a5333e408297ad4be41bab3b672e Mon Sep 17 00:00:00 2001 From: Dibir Magomedsaygitov Date: Tue, 17 Nov 2020 12:45:17 +0300 Subject: [PATCH] fix hub cli version output --- images/macos/software-report/SoftwareReport.Generator.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/macos/software-report/SoftwareReport.Generator.ps1 b/images/macos/software-report/SoftwareReport.Generator.ps1 index 7d0ef369..055e9132 100644 --- a/images/macos/software-report/SoftwareReport.Generator.ps1 +++ b/images/macos/software-report/SoftwareReport.Generator.ps1 @@ -129,7 +129,7 @@ $curlVersion = Run-Command "curl --version" | Select-Object -First 1 | Take-Part $gitVersion = Run-Command "git --version" | Take-Part -Part 2 $ghVersion = Run-Command "gh --version" | Select-String "gh version" | Select-Object -First 1 | Take-Part -Part 2 $gitLFSVersion = Run-Command "git-lfs version" | Take-Part -Part 0 | Take-Part -Part 1 -Delimiter "/" -$hubVersion = Run-Command "hub version | grep 'hub version'" | Take-Part -Part 2 +$hubVersion = Run-Command "brew list --versions hub" | Take-Part -Part 1 $wgetVersion = Run-Command "wget --version" | Select-String "GNU Wget" | Take-Part -Part 2 $svnVersion = Run-Command "svn --version --quiet" $jqVersion = Run-Command "jq --version" | Take-Part -Part 1 -Delimiter "-"