diff --git a/automatic/aws-iam-authenticator/update.ps1 b/automatic/aws-iam-authenticator/update.ps1 index 46c4f852d..56235e30f 100644 --- a/automatic/aws-iam-authenticator/update.ps1 +++ b/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 } }