Ver Fonte

Fix property name to DownloadURL

Douglas Thrift há 2 meses atrás
pai
commit
0f87d74d01
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      automatic/aws-iam-authenticator/update.ps1

+ 1 - 1
automatic/aws-iam-authenticator/update.ps1

@@ -5,7 +5,7 @@ $repo = 'https://github.com/kubernetes-sigs/aws-iam-authenticator'
 function global:au_GetLatest {
   $release = Get-LatestReleaseOnGitHub -URL $repo -AccessToken $env:github_api_key
   $version = $release.Tag.trim('v.')
-  $url64 = $release.Assets | Where-Object { $_.FileName -like '*_windows_amd64.exe' } | Select-Object -First 1 -ExpandProperty URL
+  $url64 = $release.Assets | Where-Object { $_.FileName -like '*_windows_amd64.exe' } | Select-Object -First 1 -ExpandProperty DownloadURL
   return @{ Version = $version; URL64 = $url64 }
 }