Преглед изворни кода

Fix property name to DownloadURL

Douglas Thrift пре 2 месеци
родитељ
комит
0f87d74d01
1 измењених фајлова са 1 додато и 1 уклоњено
  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 }
 }