[Windows] Add more releases per page (#7391)

This commit is contained in:
Erik Bershel
2023-04-05 15:56:35 +02:00
committed by GitHub
parent 869adbbd1c
commit d19fa4a8f1

View File

@@ -7,10 +7,11 @@ function Get-RubyVersions
{ {
param ( param (
[System.String] $Arch = "x64", [System.String] $Arch = "x64",
[System.String] $Extension = "7z" [System.String] $Extension = "7z",
[System.String] $ReleasesAmount = "50"
) )
$uri = "https://api.github.com/repos/oneclick/rubyinstaller2/releases" $uri = "https://api.github.com/repos/oneclick/rubyinstaller2/releases?per_page=$ReleasesAmount"
try try
{ {
$versionLists = @{} $versionLists = @{}