-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Temurin version update on Thu Jan 18 20:13:02 CUT 2024"
This reverts commit cbfb600.
- Loading branch information
ajshastri
committed
Jan 27, 2024
1 parent
c3994b4
commit 65ca790
Showing
2 changed files
with
56 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
$ErrorActionPreference = 'Stop' | ||
if(!$PSScriptRoot){ $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent } | ||
. "$PSScriptRoot\helper.ps1" | ||
|
||
# Get Package Parameters | ||
$parameters = (Get-PackageParameters); $pp = ( Test-PackageParamaters $parameters ).ToString() -replace('""|="True"','') -replace(";", ' ') -replace("==", '=') | ||
|
||
$packageArgs = @{ | ||
PackageName = 'Temurin17' | ||
fileType = 'msi' | ||
Url = 'https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.9%2B9.1/OpenJDK17U-jdk_x86-32_windows_hotspot_17.0.9_9.msi' | ||
Url64bit = 'https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jdk_x64_windows_hotspot_17.0.10_7.msi' | ||
Checksum = 'c23979ca982cc301a62143dd0ca75cefa75c33d029295a6dd21b75b01df2ba4e' | ||
ChecksumType = 'sha256' | ||
Checksum64 = 'd45b610b1800e35fd667d144277272e3323c7fafa21c0312649fc60a86913a3d' | ||
ChecksumType64 = 'sha256' | ||
SilentArgs = $pp | ||
} | ||
|
||
if ($parameters.both){ | ||
write-warning "Installing 32bit version" | ||
Install-ChocolateyPackage $packageArgs.packageName $packageArgs.fileType $packageArgs.SilentArgs $packageArgs.url -checksum $packageArgs.checksum -checksumtype $packageArgs.ChecksumType | ||
write-warning "Installing 64bit version" | ||
Install-ChocolateyPackage $packageArgs.packageName $packageArgs.fileType $packageArgs.SilentArgs $packageArgs.Url64bit $packageArgs.Url64bit -checksum $packageArgs.Checksum64 -checksumtype $packageArgs.ChecksumType64 | ||
} else { | ||
write-warning "Installing only Get-OSArchitectureWidth" | ||
Install-ChocolateyPackage @packageArgs | ||
} | ||
$ErrorActionPreference = 'Stop' | ||
if(!$PSScriptRoot){ $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent } | ||
. "$PSScriptRoot\helper.ps1" | ||
|
||
# Get Package Parameters | ||
$parameters = (Get-PackageParameters); $pp = ( Test-PackageParamaters $parameters ).ToString() -replace('""|="True"','') -replace(";", ' ') -replace("==", '=') | ||
|
||
$packageArgs = @{ | ||
PackageName = 'Temurin17' | ||
fileType = 'msi' | ||
Url = 'https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.9%2B9.1/OpenJDK17U-jdk_x86-32_windows_hotspot_17.0.9_9.msi' | ||
Url64bit = 'https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.9%2B9.1/OpenJDK17U-jdk_x64_windows_hotspot_17.0.9_9.msi' | ||
Checksum = 'C23979CA982CC301A62143DD0CA75CEFA75C33D029295A6DD21B75B01DF2BA4E' | ||
ChecksumType = 'sha256' | ||
Checksum64 = 'CD7B319F6FBD7EFC68A0E464C55C7F2A28D6B8BE3D0BCDA315A16F885C57CADB' | ||
ChecksumType64 = 'sha256' | ||
SilentArgs = $pp | ||
} | ||
|
||
if ($parameters.both){ | ||
write-warning "Installing 32bit version" | ||
Install-ChocolateyPackage $packageArgs.packageName $packageArgs.fileType $packageArgs.SilentArgs $packageArgs.url -checksum $packageArgs.checksum -checksumtype $packageArgs.ChecksumType | ||
write-warning "Installing 64bit version" | ||
Install-ChocolateyPackage $packageArgs.packageName $packageArgs.fileType $packageArgs.SilentArgs $packageArgs.Url64bit $packageArgs.Url64bit -checksum $packageArgs.Checksum64 -checksumtype $packageArgs.ChecksumType64 | ||
} else { | ||
write-warning "Installing only Get-OSArchitectureWidth" | ||
Install-ChocolateyPackage @packageArgs | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
$ErrorActionPreference = 'Stop' | ||
if(!$PSScriptRoot){ $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent } | ||
. "$PSScriptRoot\helper.ps1" | ||
|
||
# Get Package Parameters | ||
$parameters = (Get-PackageParameters); $pp = ( Test-PackageParamaters $parameters ).ToString() -replace('""|="True"','') -replace(";", ' ') -replace("==", '=') | ||
|
||
$packageArgs = @{ | ||
PackageName = 'Temurin17jre' | ||
fileType = 'msi' | ||
Url = 'https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.9%2B9.1/OpenJDK17U-jre_x86-32_windows_hotspot_17.0.9_9.msi' | ||
Url64bit = 'https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jre_x64_windows_hotspot_17.0.10_7.msi' | ||
Checksum = '69e0edcff69d3629083b54054f93a3c36422fda695e6843a9a9b69cc94ffbb04' | ||
ChecksumType = 'sha256' | ||
Checksum64 = 'c22a2f34d291e19c6f6120c8f15dac5a34659a37991299b6d15ed6009322e6f2' | ||
ChecksumType64 = 'sha256' | ||
SilentArgs = $pp | ||
} | ||
|
||
if ($parameters.both){ | ||
write-warning "Installing 32bit version" | ||
Install-ChocolateyPackage $packageArgs.packageName $packageArgs.fileType $packageArgs.SilentArgs $packageArgs.url -checksum $packageArgs.checksum -checksumtype $packageArgs.ChecksumType | ||
write-warning "Installing 64bit version" | ||
Install-ChocolateyPackage $packageArgs.packageName $packageArgs.fileType $packageArgs.SilentArgs $packageArgs.Url64bit $packageArgs.Url64bit -checksum $packageArgs.Checksum64 -checksumtype $packageArgs.ChecksumType64 | ||
} else { | ||
write-warning "Installing only Get-OSArchitectureWidth" | ||
Install-ChocolateyPackage @packageArgs | ||
} | ||
$ErrorActionPreference = 'Stop' | ||
if(!$PSScriptRoot){ $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent } | ||
. "$PSScriptRoot\helper.ps1" | ||
|
||
# Get Package Parameters | ||
$parameters = (Get-PackageParameters); $pp = ( Test-PackageParamaters $parameters ).ToString() -replace('""|="True"','') -replace(";", ' ') -replace("==", '=') | ||
|
||
$packageArgs = @{ | ||
PackageName = 'Temurin17jre' | ||
fileType = 'msi' | ||
Url = 'https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.9%2B9.1/OpenJDK17U-jre_x86-32_windows_hotspot_17.0.9_9.msi' | ||
Url64bit = 'https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.9%2B9.1/OpenJDK17U-jre_x64_windows_hotspot_17.0.9_9.msi' | ||
Checksum = '69E0EDCFF69D3629083B54054F93A3C36422FDA695E6843A9A9B69CC94FFBB04' | ||
ChecksumType = 'sha256' | ||
Checksum64 = '06A11211B09054B3A57C51C1D90FC0A183DB32EE03EA0002740A0EF89D1B3CD4' | ||
ChecksumType64 = 'sha256' | ||
SilentArgs = $pp | ||
} | ||
|
||
if ($parameters.both){ | ||
write-warning "Installing 32bit version" | ||
Install-ChocolateyPackage $packageArgs.packageName $packageArgs.fileType $packageArgs.SilentArgs $packageArgs.url -checksum $packageArgs.checksum -checksumtype $packageArgs.ChecksumType | ||
write-warning "Installing 64bit version" | ||
Install-ChocolateyPackage $packageArgs.packageName $packageArgs.fileType $packageArgs.SilentArgs $packageArgs.Url64bit $packageArgs.Url64bit -checksum $packageArgs.Checksum64 -checksumtype $packageArgs.ChecksumType64 | ||
} else { | ||
write-warning "Installing only Get-OSArchitectureWidth" | ||
Install-ChocolateyPackage @packageArgs | ||
} |