Skip to content

Commit

Permalink
Merge pull request #2343 from danielkoek/(k9s)-change-checksum-to-sha256
Browse files Browse the repository at this point in the history
(k9s) Update to checksum extension to sha256
  • Loading branch information
pauby authored Dec 21, 2023
2 parents 30989be + f907080 commit 7d1f1e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
*/transifex* @chocolatey-community/chocolatey-team-maintainers
*/waterfox* @AdmiringWorm
*/composer* @johnstevenson
*/k9s* @danielkoek
*/krew* @jetersen
*/kubelogin* @jetersen
*/ffmpeg-full* @VuiMuich
Expand Down
2 changes: 1 addition & 1 deletion automatic/k9s/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function global:au_SearchReplace {
function global:au_GetLatest {
$LatestRelease = Get-GitHubRelease derailed k9s

$checksumAsset = $LatestRelease.assets | Where-Object { $_.name -eq 'checksums.txt' } | Select-Object -ExpandProperty browser_download_url
$checksumAsset = $LatestRelease.assets | Where-Object { $_.name -eq 'checksums.sha256' } | Select-Object -ExpandProperty browser_download_url
$checksum_page = Invoke-WebRequest -Uri $checksumAsset -UseBasicParsing
$checksum64 = [regex]::Match($checksum_page, "([a-f\d]+)\s*$([regex]::Escape($filename64))").Groups[1].Value

Expand Down

0 comments on commit 7d1f1e9

Please sign in to comment.