Add Google Cloud SDK for Windows (#1102)

* Add Google Cloud SDK

* Add Validate-GoogleCloudSDK.ps1 script
This commit is contained in:
Aleksandr Chebotov
2020-06-24 11:37:36 +03:00
committed by GitHub
parent f342a7de2d
commit 4c34ad64df
6 changed files with 58 additions and 1 deletions

View File

@@ -101,7 +101,8 @@ $markdown += New-MDList -Style Unordered -Lines @(
(Get-AWSSAMVersion),
(Get-AlibabaCLIVersion),
(Get-CloudFoundryVersion),
(Get-HubVersion)
(Get-HubVersion),
(Get-GoogleCloudSDKVersion)
)
$markdown += New-MDHeader "Browsers and webdrivers" -Level 3

View File

@@ -202,4 +202,8 @@ function Get-StackVersion {
((stack --version --quiet) | Out-String) -match "Version (?<version>\d+\.\d+\.\d+)," | Out-Null
$stackVersion = $Matches.Version
return "Stack $stackVersion"
}
function Get-GoogleCloudSDKVersion {
(gcloud --version) -match "Google Cloud SDK"
}