Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit d0cd7a9

Browse files
committed
(postgresql) fix updater; revert previous
1 parent d304796 commit d0cd7a9

File tree

2 files changed

+149
-80
lines changed

2 files changed

+149
-80
lines changed

postgresql/postgresql.json

+148-77
Original file line numberDiff line numberDiff line change
@@ -1,105 +1,176 @@
11
{
2+
"9.4": "9.4.26",
3+
"9.5": "9.5.25.1",
4+
"9.6": "9.6.24.1",
5+
"10.10": "10.10",
6+
"11.5": "11.5",
7+
"postgresql": "16.1",
8+
"postgresql-9.4": "9.4.26",
9+
"postgresql-10.10": "10.10",
10+
"postgresql-9.5": "9.5.25.1",
11+
"postgresql-9.6": "9.6.24.1",
12+
"postgresql-12.0": "12.0",
213
"12.0": "12.0",
14+
"postgresql-10.11": "10.11",
15+
"10.11": "10.11",
16+
"postgresql-11.6": "11.6",
17+
"11.6": "11.6",
18+
"postgresql-12.1": "12.1",
319
"12.1": "12.1",
4-
"12.10": "12.10.2",
5-
"12.11": "12.11.1",
6-
"12.12": "12.12.1",
7-
"12.13": "12.13.1",
8-
"12.14": "12.14",
9-
"12.15": "12.15",
10-
"12.16": "12.16",
11-
"12.17": "12.17",
20+
"postgresql-10.12": "10.12",
21+
"10.12": "10.12",
22+
"postgresql-11.7": "11.7",
23+
"11.7": "11.7",
24+
"postgresql-12.2": "12.2",
1225
"12.2": "12.2",
26+
"postgresql-10.13": "10.13.2",
27+
"10.13": "10.13.2",
28+
"postgresql-11.8": "11.8.2",
29+
"11.8": "11.8.2",
30+
"postgresql-12.3": "12.3",
1331
"12.3": "12.3",
32+
"postgresql-10.14": "10.14.1",
33+
"10.14": "10.14.1",
34+
"postgresql-11.9": "11.9.1",
35+
"11.9": "11.9.1",
36+
"postgresql-12.4": "12.4.1",
1437
"12.4": "12.4.1",
15-
"12.5": "12.5.1",
16-
"12.6": "12.6.3",
17-
"12.7": "12.7.2",
18-
"12.8": "12.8.2",
19-
"12.9": "12.9.1",
38+
"postgresql-13.0": "13.0.1",
2039
"13.0": "13.0.1",
40+
"postgresql-10.15": "10.15.1",
41+
"10.15": "10.15.1",
42+
"postgresql-11.10": "11.10.2",
43+
"11.10": "11.10.2",
44+
"postgresql-12.5": "12.5.1",
45+
"12.5": "12.5.1",
46+
"postgresql-13.1": "13.1.1",
2147
"13.1": "13.1.1",
22-
"13.10": "13.10",
23-
"13.11": "13.11",
24-
"13.12": "13.12",
25-
"13.13": "13.13",
48+
"postgresql-10.16": "10.16.2",
49+
"10.16": "10.16.2",
50+
"postgresql-11.11": "11.11.3",
51+
"11.11": "11.11.3",
52+
"postgresql-12.6": "12.6.3",
53+
"12.6": "12.6.3",
54+
"postgresql-13.2": "13.2.2",
2655
"13.2": "13.2.2",
56+
"postgresql-10.17": "10.17.2",
57+
"10.17": "10.17.2",
58+
"postgresql-11.12": "11.12.2",
59+
"11.12": "11.12.2",
60+
"postgresql-12.7": "12.7.2",
61+
"12.7": "12.7.2",
62+
"postgresql-13.3": "13.3.2",
2763
"13.3": "13.3.2",
64+
"postgresql-10.18": "10.18.2",
65+
"10.18": "10.18.2",
66+
"postgresql-11.13": "11.13.2",
67+
"11.13": "11.13.2",
68+
"postgresql-12.8": "12.8.2",
69+
"12.8": "12.8.2",
70+
"postgresql-13.4": "13.4.2",
2871
"13.4": "13.4.2",
29-
"13.5": "13.5.1",
30-
"13.6": "13.6.2",
31-
"13.7": "13.7.1",
32-
"13.8": "13.8.1",
33-
"13.9": "13.9.3",
72+
"postgresql-14.0": "14.0.1",
3473
"14.0": "14.0.1.20211027",
74+
"postgresql-10.19": "10.19.1",
75+
"10.19": "10.19.1",
76+
"postgresql-11.14": "11.14.1",
77+
"11.14": "11.14.1",
78+
"postgresql-12.9": "12.9.1",
79+
"12.9": "12.9.1",
80+
"postgresql-13.5": "13.5.1",
81+
"13.5": "13.5.1",
82+
"postgresql-14.1": "14.1.1",
3583
"14.1": "14.1.1",
36-
"14.10": "14.10",
84+
"postgresql-10.20": "10.20.2",
85+
"10.20": "10.20.2",
86+
"postgresql-11.15": "11.15.2",
87+
"11.15": "11.15.2",
88+
"postgresql-12.10": "12.10.2",
89+
"12.10": "12.10.2",
90+
"postgresql-13.6": "13.6.2",
91+
"13.6": "13.6.2",
92+
"postgresql-14.2": "14.2.2",
3793
"14.2": "14.2.2",
94+
"postgresql-10.21": "10.21.1",
95+
"10.21": "10.21.1",
96+
"postgresql-11.16": "11.16.1",
97+
"11.16": "11.16.1",
98+
"postgresql-12.11": "12.11.1",
99+
"12.11": "12.11.1",
100+
"postgresql-13.7": "13.7.1",
101+
"13.7": "13.7.1",
102+
"postgresql-14.3": "14.3.1",
38103
"14.3": "14.3.1",
104+
"postgresql-14.4": "14.4.1",
39105
"14.4": "14.4.1",
106+
"postgresql-10.22": "10.22.1",
107+
"10.22": "10.22.1",
108+
"postgresql-11.17": "11.17.1",
109+
"11.17": "11.17.1",
110+
"postgresql-12.12": "12.12.1",
111+
"12.12": "12.12.1",
112+
"postgresql-13.8": "13.8.1",
113+
"13.8": "13.8.1",
114+
"postgresql-14.5": "14.5.1",
40115
"14.5": "14.5.1",
41-
"14.6": "14.6.2",
42-
"14.7": "14.7",
43-
"14.8": "14.8",
44-
"14.9": "14.9",
116+
"postgresql-15.0": "15.0.2",
45117
"15.0": "15.0.2",
118+
"postgresql-10.23": "10.23.1",
119+
"10.23": "10.23.1",
120+
"postgresql-11.18": "11.18.1",
121+
"11.18": "11.18.1",
122+
"postgresql-12.13": "12.13.1",
123+
"12.13": "12.13.1",
124+
"postgresql-13.9": "13.9.3",
125+
"13.9": "13.9.3",
126+
"postgresql-14.6": "14.6.2",
127+
"14.6": "14.6.2",
128+
"postgresql-15.1": "15.1.1",
46129
"15.1": "15.1.1",
130+
"postgresql-9.3": "9.3.25",
131+
"9.3": "9.3.25",
132+
"postgresql-11.19": "11.19",
133+
"11.19": "11.19",
134+
"postgresql-12.14": "12.14",
135+
"12.14": "12.14",
136+
"postgresql-13.10": "13.10",
137+
"13.10": "13.10",
138+
"postgresql-14.7": "14.7",
139+
"14.7": "14.7",
140+
"postgresql-15.2": "15.2",
47141
"15.2": "15.2",
142+
"postgresql-11.20": "11.20",
143+
"11.20": "11.20",
144+
"postgresql-12.15": "12.15",
145+
"12.15": "12.15",
146+
"postgresql-13.11": "13.11",
147+
"13.11": "13.11",
148+
"postgresql-14.8": "14.8",
149+
"14.8": "14.8",
150+
"postgresql-15.3": "15.3",
48151
"15.3": "15.3",
152+
"postgresql-11.21": "11.21",
153+
"11.21": "11.21",
154+
"postgresql-12.16": "12.16",
155+
"12.16": "12.16",
156+
"postgresql-13.12": "13.12",
157+
"13.12": "13.12",
158+
"postgresql-14.9": "14.9",
159+
"14.9": "14.9",
160+
"postgresql-15.4": "15.4",
49161
"15.4": "15.4",
50-
"15.5": "15.5",
162+
"postgresql-16.0": "16.0",
51163
"16.0": "16.0",
52-
"16.1": "16.1",
53-
"postgresql": "16.1",
54-
"postgresql-12.0": "12.0",
55-
"postgresql-12.1": "12.1",
56-
"postgresql-12.10": "12.10.2",
57-
"postgresql-12.11": "12.11.1",
58-
"postgresql-12.12": "12.12.1",
59-
"postgresql-12.13": "12.13.1",
60-
"postgresql-12.14": "12.14",
61-
"postgresql-12.15": "12.15",
62-
"postgresql-12.16": "12.16",
164+
"postgresql-11.22": "11.22",
165+
"11.22": "11.22",
63166
"postgresql-12.17": "12.17",
64-
"postgresql-12.2": "12.2",
65-
"postgresql-12.3": "12.3",
66-
"postgresql-12.4": "12.4.1",
67-
"postgresql-12.5": "12.5.1",
68-
"postgresql-12.6": "12.6.3",
69-
"postgresql-12.7": "12.7.2",
70-
"postgresql-12.8": "12.8.2",
71-
"postgresql-12.9": "12.9.1",
72-
"postgresql-13.0": "13.0.1",
73-
"postgresql-13.1": "13.1.1",
74-
"postgresql-13.10": "13.10",
75-
"postgresql-13.11": "13.11",
76-
"postgresql-13.12": "13.12",
167+
"12.17": "12.17",
77168
"postgresql-13.13": "13.13",
78-
"postgresql-13.2": "13.2.2",
79-
"postgresql-13.3": "13.3.2",
80-
"postgresql-13.4": "13.4.2",
81-
"postgresql-13.5": "13.5.1",
82-
"postgresql-13.6": "13.6.2",
83-
"postgresql-13.7": "13.7.1",
84-
"postgresql-13.8": "13.8.1",
85-
"postgresql-13.9": "13.9.3",
86-
"postgresql-14.0": "14.0.1",
87-
"postgresql-14.1": "14.1.1",
169+
"13.13": "13.13",
88170
"postgresql-14.10": "14.10",
89-
"postgresql-14.2": "14.2.2",
90-
"postgresql-14.3": "14.3.1",
91-
"postgresql-14.4": "14.4.1",
92-
"postgresql-14.5": "14.5.1",
93-
"postgresql-14.6": "14.6.2",
94-
"postgresql-14.7": "14.7",
95-
"postgresql-14.8": "14.8",
96-
"postgresql-14.9": "14.9",
97-
"postgresql-15.0": "15.0.2",
98-
"postgresql-15.1": "15.1.1",
99-
"postgresql-15.2": "15.2",
100-
"postgresql-15.3": "15.3",
101-
"postgresql-15.4": "15.4",
171+
"14.10": "14.10",
102172
"postgresql-15.5": "15.5",
103-
"postgresql-16.0": "16.0",
104-
"postgresql-16.1": "16.1"
173+
"15.5": "15.5",
174+
"postgresql-16.1": "16.1",
175+
"16.1": "16.1"
105176
}

postgresql/update.ps1

+1-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function global:au_GetLatest {
5252
$version = $tds[0] -split '>' | select -Last 1
5353
$version = $version.Replace('*', '')
5454

55-
$tds[4] -match "href='(.+?)'" | Out-Null
55+
$tds[4] -match 'href="(.+?)"' | Out-Null
5656
$href = $Matches[1]
5757

5858
[PSCUstomObject]@{ version = $version; href = $href }
@@ -61,11 +61,9 @@ function global:au_GetLatest {
6161
$streams = [ordered]@{}
6262
foreach ($item in $downloads) {
6363
$major, $minor = $item.version -split '\.|-' | select -First 2
64-
if ($major -le 12) { continue }
6564
if (!$major) { continue }
6665
if (!$minor) { $minor = '0'; $item.version += '.0' }
6766

68-
6967
$s1 = @{
7068
Version = $item.version
7169
Url64 = Resolve-PostgreUrl $item.href

0 commit comments

Comments
 (0)