mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
[Ubuntu] Update the Packer version output (#8994)
* Update Software Report to support azcopy output * [Ubuntu] Update the Packer version output --------- Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
This commit is contained in:
@@ -177,7 +177,7 @@ function Get-NvmVersion {
|
||||
}
|
||||
|
||||
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