mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-19 08:21:44 +00:00
[Ubuntu] fix Software report for OpenShift CLI (#6080)
This commit is contained in:
@@ -264,7 +264,7 @@ function Get-NetlifyCliVersion {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Get-OCCliVersion {
|
function Get-OCCliVersion {
|
||||||
$ocVersion = oc version | Take-OutputPart -Part 2 | Take-OutputPart -Part 0 -Delimiter "-"
|
$ocVersion = oc version -o=json | jq -r '.releaseClientVersion'
|
||||||
return "OpenShift CLI $ocVersion"
|
return "OpenShift CLI $ocVersion"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user