-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathversions.json
24 lines (24 loc) · 954 Bytes
/
versions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"php": {
"versions": [
"8.4.3",
"8.3.16",
"8.2.27",
"8.1.31",
"8.0.30",
"7.4.33",
"7.3.33",
"7.2.34"
],
"versionsChangeScope": "minor",
"versionsNewScript": "Invoke-WebRequest https://api.github.com/repos/php/php-src/git/refs/tags | ConvertFrom-Json | % { $_.ref -replace 'refs/tags/php-', '' } | ? { $_ -match '^\\d+\\.\\d+\\.\\d+$' } | Sort-Object { [version]$_ } -Descending | ? { [version]$_ -ge [version]'7.2' } # Alternative: https://www.php.net/releases/index.php?json&max=1000&version=7"
},
"xdebug": {
"versions": [
"3.4.1"
],
"versionsChangeScope": "minor",
"versionsNewScript": "Invoke-WebRequest https://api.github.com/repos/xdebug/xdebug/git/refs/tags | ConvertFrom-Json | % { $_.ref -replace 'refs/tags/', '' } | ? { $_ -match '^\\d+\\.\\d+\\.\\d+$' } | Sort-Object { [version]$_ } -Descending | Select-Object -First 1",
"limit": 1
}
}