mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 03:57:32 +00:00
[Windows] Update the Packer version output (#9067)
This commit is contained in:
@@ -149,7 +149,7 @@ function Get-OpenSSLVersion {
|
||||
}
|
||||
|
||||
function Get-PackerVersion {
|
||||
$packerVersion = packer --version
|
||||
$packerVersion = (packer --version | Select-String "^Packer").Line.Replace('v','') | Get-StringPart -Part 1
|
||||
return $packerVersion
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user