Skip to content

Commit

Permalink
Fix property name to DownloadURL
Browse files Browse the repository at this point in the history
  • Loading branch information
douglaswth committed Oct 15, 2024
1 parent ec65c87 commit 0f87d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automatic/aws-iam-authenticator/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}

Expand Down

0 comments on commit 0f87d74

Please sign in to comment.