diff --git a/images/macos/software-report/SoftwareReport.Common.psm1 b/images/macos/software-report/SoftwareReport.Common.psm1 index 6bea6251..449135ca 100644 --- a/images/macos/software-report/SoftwareReport.Common.psm1 +++ b/images/macos/software-report/SoftwareReport.Common.psm1 @@ -51,7 +51,8 @@ function Get-RustupVersion { function Get-VcpkgVersion { $vcpkgVersion = Run-Command "vcpkg version" | Select-Object -First 1 | Take-Part -Part 5 | Take-Part -Part 0 -Delimiter "-" - return "Vcpkg ${vcpkgVersion}" + $commitId = git -C "/usr/local/share/vcpkg" rev-parse --short HEAD + return "Vcpkg $vcpkgVersion (build from master <$commitId>)" } function Get-GccVersion {