Skip to content

Commit

Permalink
AU: 2 updated - grafana-agent opera-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevenaar committed Nov 3, 2022
1 parent 0ef1204 commit b091f6a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion automatic/grafana-agent/grafana-agent.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
<!-- version should MATCH as closely as possible with the underlying software -->
<!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
<version>0.28.0</version>
<version>0.28.1</version>
<!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
<owners>Maurice Kevenaar, Simon Baerlocher</owners>
<!-- ============================== -->
Expand Down
6 changes: 3 additions & 3 deletions automatic/grafana-agent/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The installer have been downloaded from their official download link listed on <https://github.com/grafana/agent/releases/latest>
The installer have been downloaded from their official download link listed on <https://api.github.com/repos/grafana/agent/releases/latest>
and can be verified like this:

1. Download the following installers:
32-Bit: <https://github.com/grafana/agent/releases/download/v0.28.0/grafana-agent-installer.exe>
32-Bit: <https://github.com/grafana/agent/releases/download/v0.28.1/grafana-agent-installer.exe>
2. You can use one of the following methods to obtain the checksum
- Use powershell function 'Get-Filehash'
- Use chocolatey utility 'checksum.exe'

checksum type: sha256
checksum32: A0E7EEA92E4FBF553808C5A5884BAAD6936E260381DC04FCA23275717A15B51C
checksum32: EF115FFB5FC87D73D87A0F91E4886C56C54313E3743967B627D13975CD51F8A5

File 'LICENSE.txt' is obtained from <https://github.com/grafana/agent/blob/master/LICENSE>

4 changes: 2 additions & 2 deletions automatic/opera-beta/opera-beta.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
<!-- version should MATCH as closely as possible with the underlying software -->
<!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
<version>92.0.4561.11-beta</version>
<version>93.0.4585.3-beta</version>
<!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
<owners>Maurice Kevenaar</owners>
<!-- ============================== -->
Expand All @@ -41,7 +41,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
<!-- copyright is usually years and software vendor, but not required for internal feeds -->
<copyright>Opera Software</copyright>
<tags>browser opera beta cross-platform internet admin</tags>
<releaseNotes>https://blogs.opera.com/desktop/changelog-for-92/#b4561.11</releaseNotes>
<releaseNotes>https://blogs.opera.com/desktop/changelog-for-93/#b4585.3</releaseNotes>
<licenseUrl>http://www.operasoftware.com/eula/browser</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<packageSourceUrl>https://github.com/mkevenaar/chocolatey-packages/tree/master/automatic/opera-beta</packageSourceUrl>
Expand Down
10 changes: 5 additions & 5 deletions automatic/opera-beta/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ $parameters += if ($pp.NoTaskbarShortcut) { " /pintotaskbar 0"; Write-Host "
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
url = 'https://get.geo.opera.com/pub/opera-beta/92.0.4561.11/win/Opera_beta_92.0.4561.11_Setup.exe'
url64 = 'https://get.geo.opera.com/pub/opera-beta/92.0.4561.11/win/Opera_beta_92.0.4561.11_Setup_x64.exe'
checksum = '91660bba1d078480e060e73341e4e77db5a46f8f4745d61e77d6b040355238cb'
checksum64 = '76e8300243c72afac3afe60174a502e8a8cb2aa8c9d8aa5443bdf65d941d6a9e'
url = 'https://get.geo.opera.com/pub/opera-beta/93.0.4585.3/win/Opera_beta_93.0.4585.3_Setup.exe'
url64 = 'https://get.geo.opera.com/pub/opera-beta/93.0.4585.3/win/Opera_beta_93.0.4585.3_Setup_x64.exe'
checksum = '5cb23e09727bcd9232df7e5441ac740e6d7e9a38c21ee826f7f25886ac2a0285'
checksum64 = '4ea2813052a71372ff8af83070168ad576100ecd5389687860d4ccc7163b835d'
checksumType = 'sha256'
checksumType64 = 'sha256'
silentArgs = '/install /silent /launchopera 0 /setdefaultbrowser 0' + $parameters
validExitCodes = @(0)
}

$version = '92.0.4561.11'
$version = '93.0.4585.3'
if (!$Env:ChocolateyForce -and (IsVersionAlreadyInstalled $version)) {
Write-Output "Opera $version is already installed. Skipping download and installation."
} else {
Expand Down

0 comments on commit b091f6a

Please sign in to comment.