Skip to content

Commit 8034883

Browse files
committed
Merge branch 'tunisiano187/master'
2 parents 41b8b36 + 50be94c commit 8034883

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/CODEOWNERS

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
*/nexus-repository* @chocolatey-community/chocolatey-team-maintainers
4343
*/totalcommander* @pauby
4444
*/kubescape* @HollowMan6
45-
*/azcopy10* @chocolatey-community/chocolatey-team-maintainers
45+
*/azcopy10* @chocolatey-community/chocolatey-team-maintainers
46+
*/googlechromebeta @tunisiano187
4647

4748
# Other
4849
# This can be any file other that won't be matched as a package

automatic/googlechromebeta/googlechromebeta.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<id>googlechromebeta</id>
66
<version>120.0.6099.56-beta</version>
77
<title>Google Chrome Beta</title>
8-
<owners>chocolatey-community,nsleigh</owners>
8+
<owners>chocolatey-community,nsleigh,tunisiano</owners>
99
<authors>Google LLC.</authors>
1010
<projectUrl>https://www.google.com/chrome/browser/</projectUrl>
1111
<licenseUrl>https://www.google.it/intl/en/chrome/browser/privacy/eula_text.html</licenseUrl>

automatic/googlechromebeta/update.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Import-Module Chocolatey-AU
22
import-module "$PSScriptRoot\..\..\scripts\au_extensions.psm1"
33

4-
$releases = 'https://omahaproxy.appspot.com/all?os=win&channel=beta'
4+
$releases = "https://versionhistory.googleapis.com/v1/chrome/platforms/win/channels/beta/versions"
55
$paddedUnderVersion = '57.0.2988'
66

77
function global:au_BeforeUpdate {
@@ -22,8 +22,8 @@ function global:au_SearchReplace {
2222
}
2323

2424
function global:au_GetLatest {
25-
$release_info = Invoke-WebRequest -Uri $releases -UseBasicParsing
26-
$version = $release_info | ForEach-Object Content | ConvertFrom-Csv | ForEach-Object current_version
25+
$releasesData = Invoke-RestMethod -UseBasicParsing -Method Get -Uri $releases
26+
$version = ($releasesData.versions | Select-Object -First 1).version
2727
$version = "$version-beta"
2828

2929
@{

0 commit comments

Comments
 (0)