mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-29 04:47:38 +08:00
[All OS] Output full version of git to software report (#5097)
This commit is contained in:
@@ -266,8 +266,8 @@ function Get-CurlVersion {
|
||||
}
|
||||
|
||||
function Get-GitVersion {
|
||||
$gitVersion = Run-Command "git --version" | Take-Part -Part 2
|
||||
return "Git: $gitVersion"
|
||||
$gitVersion = Run-Command "git --version" | Take-Part -Part -1
|
||||
return "Git $gitVersion"
|
||||
}
|
||||
|
||||
function Get-GitLFSVersion {
|
||||
|
||||
Reference in New Issue
Block a user