|
|
@ -1,10 +1,10 @@
|
|
|
|
param(
|
|
|
|
param(
|
|
|
|
[string] $IstioVersion = "1.0.3"
|
|
|
|
[string] $IstioVersion = $(Invoke-RestMethod "https://api.github.com/repos/istio/istio/releases")[0].tag_name
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
$url = "https://github.com/istio/istio/releases/download/$($IstioVersion)/istio-$($IstioVersion)-win.zip"
|
|
|
|
$url = "https://github.com/istio/istio/releases/download/$($IstioVersion)/istio-$($IstioVersion)-win.zip"
|
|
|
|
$Path = Get-Location
|
|
|
|
$Path = Get-Location
|
|
|
|
$output = [IO.Path]::Combine($Path, "istio-$($IstioVersion)-win.zip¡±)
|
|
|
|
$output = [IO.Path]::Combine($Path, "istio-$($IstioVersion)-win.zip")
|
|
|
|
|
|
|
|
|
|
|
|
Write-Host "Downloading Istio from $url to path " $Path -ForegroundColor Green
|
|
|
|
Write-Host "Downloading Istio from $url to path " $Path -ForegroundColor Green
|
|
|
|
|
|
|
|
|
|
|
|