diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 index 462be1fb..39e3abc6 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 @@ -133,7 +133,8 @@ function Get-VcpkgVersion { $result = Get-CommandResult "vcpkg version" $result.Output -match "version (?\d+\.\d+\.\d+)" | Out-Null $vcpkgVersion = $Matches.version - return "Vcpkg $vcpkgVersion" + $commitId = git -C "/usr/local/share/vcpkg" rev-parse --short HEAD + return "Vcpkg $vcpkgVersion (build from master <$commitId>)" } function Get-AntVersion {