mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +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 {
|
||||
$ocVersion = oc version | Take-OutputPart -Part 2 | Take-OutputPart -Part 0 -Delimiter "-"
|
||||
$ocVersion = oc version -o=json | jq -r '.releaseClientVersion'
|
||||
return "OpenShift CLI $ocVersion"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user