Skip to content

Commit

Permalink
AU: 1 updated - postgresql12
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed May 19, 2020
1 parent 0d007ce commit 969448a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 15 deletions.
18 changes: 12 additions & 6 deletions postgresql/postgresql.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"9.4": "9.4.26",
"9.5": "9.5.21",
"9.6": "9.6.17",
"9.5": "9.5.22",
"9.6": "9.6.18",
"10.10": "10.10",
"11.5": "11.5",
"postgresql": "12.2",
"postgresql": "12.3",
"postgresql-9.4": "9.4.26",
"postgresql-10.10": "10.10",
"postgresql-9.5": "9.5.21",
"postgresql-9.6": "9.6.17",
"postgresql-9.5": "9.5.22",
"postgresql-9.6": "9.6.18",
"postgresql-12.0": "12.0",
"12.0": "12.0",
"postgresql-10.11": "10.11",
Expand All @@ -22,5 +22,11 @@
"postgresql-11.7": "11.7",
"11.7": "11.7",
"postgresql-12.2": "12.2",
"12.2": "12.2"
"12.2": "12.2",
"postgresql-10.13": "10.13",
"10.13": "10.13",
"postgresql-11.8": "11.8",
"11.8": "11.8",
"postgresql-12.3": "12.3",
"12.3": "12.3"
}
6 changes: 3 additions & 3 deletions postgresql/postgresql.nuspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>postgresql9</id>
<version>9.4.26</version>
<id>postgresql12</id>
<version>12.3</version>
<title>PostgreSQL</title>
<authors>PostgreSQL Global Development Group</authors>
<owners>majkinetor, cole.mike</owners>
Expand Down Expand Up @@ -74,7 +74,7 @@ cinst postgresql12 --force
]]></description>
<summary>PostgreSQL is an object-relational database management system</summary>
<releaseNotes>https://www.postgresql.org/docs/9/static/release.html</releaseNotes>
<releaseNotes>https://www.postgresql.org/docs/12/static/release.html</releaseNotes>
<copyright>Copyright © 1996-2019 The PostgreSQL Global Development Group</copyright>
<tags>foss cross-platform postgres postgresql sql relational database admin</tags>
<projectSourceUrl>https://github.com/postgres/postgres</projectSourceUrl>
Expand Down
10 changes: 5 additions & 5 deletions postgresql/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ $silentArgs = @{
$packageArgs = @{
packageName = $Env:ChocolateyPackageName
fileType = 'exe'
url64 = 'https://get.enterprisedb.com/postgresql/postgresql-9.4.26-1-windows-x64.exe'
checksum64 = '028F48ACB0AC5AEC5B6C4B87BA827030932427A3511BEB6BE2784BFCB51E8F20'
url64 = 'https://get.enterprisedb.com/postgresql/postgresql-12.3-1-windows-x64.exe'
checksum64 = '1555EAF89DEF457B87637CA2B82F8CACF81B3DA6A0862F5D2BCEE0B1091F4D5C'
checksumType64 = 'sha256'
url = 'https://get.enterprisedb.com/postgresql/postgresql-9.4.26-1-windows.exe'
checksum = '19AE10CD609DE09BD0D1890076AF3D429B5FEC0FEDD22F65CF158AC0773FBD4C'
url = ''
checksum = ''
checksumType32 = 'sha256'
silentArgs = ($silentArgs.Keys | % { "--{0} {1}" -f $_.Tolower(), $silentArgs.$_}) -join ' '
validExitCodes = @(0)
softwareName = 'PostgreSQL 9*'
softwareName = 'PostgreSQL 12*'
}
Install-ChocolateyPackage @packageArgs
Write-Host "Installation log: $Env:TEMP\install-postgresql.log"
Expand Down
2 changes: 1 addition & 1 deletion postgresql/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$ErrorActionPreference = 'Stop'

$packageName = $Env:ChocolateyPackageName
$softwareNamePattern = 'PostgreSQL 9*'
$softwareNamePattern = 'PostgreSQL 12*'

[array] $key = Get-UninstallRegistryKey $softwareNamePattern
if ($key.Count -eq 1) {
Expand Down

0 comments on commit 969448a

Please sign in to comment.