Skip to content

Commit

Permalink
Merge branch 'tunisiano187/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm committed Apr 25, 2024
2 parents 41b8b36 + 50be94c commit 8034883
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion automatic/googlechromebeta/googlechromebeta.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<id>googlechromebeta</id>
<version>120.0.6099.56-beta</version>
<title>Google Chrome Beta</title>
<owners>chocolatey-community,nsleigh</owners>
<owners>chocolatey-community,nsleigh,tunisiano</owners>
<authors>Google LLC.</authors>
<projectUrl>https://www.google.com/chrome/browser/</projectUrl>
<licenseUrl>https://www.google.it/intl/en/chrome/browser/privacy/eula_text.html</licenseUrl>
Expand Down
6 changes: 3 additions & 3 deletions automatic/googlechromebeta/update.ps1
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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"

@{
Expand Down

0 comments on commit 8034883

Please sign in to comment.