diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ea12f9768ed..8be7b6e3e95 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -42,7 +42,8 @@ */nexus-repository* @chocolatey-community/chocolatey-team-maintainers */totalcommander* @pauby */kubescape* @HollowMan6 -*/azcopy10* @chocolatey-community/chocolatey-team-maintainers +*/azcopy10* @chocolatey-community/chocolatey-team-maintainers +*/googlechromebeta @tunisiano187 # Other # This can be any file other that won't be matched as a package diff --git a/automatic/googlechromebeta/googlechromebeta.nuspec b/automatic/googlechromebeta/googlechromebeta.nuspec index 38cf30025fb..1175490baa2 100644 --- a/automatic/googlechromebeta/googlechromebeta.nuspec +++ b/automatic/googlechromebeta/googlechromebeta.nuspec @@ -5,7 +5,7 @@ googlechromebeta 120.0.6099.56-beta Google Chrome Beta - chocolatey-community,nsleigh + chocolatey-community,nsleigh,tunisiano Google LLC. https://www.google.com/chrome/browser/ https://www.google.it/intl/en/chrome/browser/privacy/eula_text.html diff --git a/automatic/googlechromebeta/update.ps1 b/automatic/googlechromebeta/update.ps1 index 8b88251e3e5..0245d4708d6 100644 --- a/automatic/googlechromebeta/update.ps1 +++ b/automatic/googlechromebeta/update.ps1 @@ -1,7 +1,7 @@ Import-Module Chocolatey-AU import-module "$PSScriptRoot\..\..\scripts\au_extensions.psm1" -$releases = 'https://omahaproxy.appspot.com/all?os=win&channel=beta' +$releases = "https://versionhistory.googleapis.com/v1/chrome/platforms/win/channels/beta/versions" $paddedUnderVersion = '57.0.2988' function global:au_BeforeUpdate { @@ -22,8 +22,8 @@ function global:au_SearchReplace { } function global:au_GetLatest { - $release_info = Invoke-WebRequest -Uri $releases -UseBasicParsing - $version = $release_info | ForEach-Object Content | ConvertFrom-Csv | ForEach-Object current_version + $releasesData = Invoke-RestMethod -UseBasicParsing -Method Get -Uri $releases + $version = ($releasesData.versions | Select-Object -First 1).version $version = "$version-beta" @{