Skip to content

Commit

Permalink
[Ubuntu] Update the Packer version output (actions#8994)
Browse files Browse the repository at this point in the history
* Update Software Report to support azcopy output

* [Ubuntu] Update the Packer version output

---------

Co-authored-by: Alexey Ayupov <“[email protected]”>
  • Loading branch information
Alexey-Ayupov and Alexey Ayupov authored Dec 11, 2023
1 parent 7fe65a2 commit 63f2cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/ubuntu/scripts/docs-gen/SoftwareReport.Tools.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 63f2cea

Please sign in to comment.