diff --git a/build/config_builder b/build/config_builder index bd62e173..743abd6a 100755 --- a/build/config_builder +++ b/build/config_builder @@ -49,19 +49,20 @@ foreach ($releases as $releaseName => $info) { ]; // Check if we can upgrade from a previous major version + $previousMajor = $major - 1; $deployPercent = $info['deploy'] ?? 100; - if (isset($latestReleases[$stability][$major - 1])) { - $upgradeFrom = $latestReleases[$stability][$major - 1]; + if (isset($latestReleases[$stability][$previousMajor])) { + $upgradeFrom = $latestReleases[$stability][$previousMajor]; $generatedConfig[$stability][$upgradeFrom][$deployPercent] = $generatedConfig[$stability][$major]['100']; } elseif (isset($latestReleases['stable'][$major -1])) { - $upgradeFrom = $latestReleases['stable'][$major - 1]; + $upgradeFrom = $latestReleases['stable'][$previousMajor]; $generatedConfig[$stability][$upgradeFrom][$deployPercent] = $generatedConfig[$stability][$major]['100']; } // For stable versions, check if we can upgrade from a beta version if ($stability === 'stable') { - if (isset($latestReleases['beta'][$major - 1])) { - $upgradeFrom = $latestReleases[$stability][$major - 1]; + if (isset($latestReleases['beta'][$previousMajor])) { + $upgradeFrom = $latestReleases['beta'][$previousMajor]; $generatedConfig['beta'][$upgradeFrom][100] = $generatedConfig[$stability][$major]['100']; } } diff --git a/config/config.php b/config/config.php index 9aa17fd0..a5ba83c9 100755 --- a/config/config.php +++ b/config/config.php @@ -644,7 +644,7 @@ ], ], 'beta' => [ - '27.1.9.1' => [ + '27.1.10.0' => [ 100 => [ 'latest' => '28.0.6', 'internalVersion' => '28.0.6.1',