diff --git a/generate/definitions/versions.json b/generate/definitions/versions.json index 862a3fd..1c5e261 100644 --- a/generate/definitions/versions.json +++ b/generate/definitions/versions.json @@ -9,6 +9,6 @@ "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 # Alternative: https://www.php.net/releases/index.php?json&max=1000&version=7" + "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" } }