diff --git a/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 b/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 index adf6bb37..0a1e6999 100644 --- a/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 +++ b/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 @@ -103,7 +103,8 @@ function Get-ChocoVersion { function Get-VcpkgVersion { ($(vcpkg version) | Out-String) -match "version (?\d+\.\d+\.\d+)" | Out-Null $vcpkgVersion = $Matches.Version - return "Vcpkg $vcpkgVersion" + $commitId = git -C "C:\vcpkg" rev-parse --short HEAD + return "Vcpkg $vcpkgVersion (build from master <$commitId>)" } function Get-NPMVersion {