mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 00:05:42 +08:00
Forward-port #1006 changes
This commit is contained in:
@@ -25,8 +25,10 @@ class zig
|
||||
$index_json = json_decode($index_json ?: '', true);
|
||||
$latest_version = null;
|
||||
foreach ($index_json as $version => $data) {
|
||||
$latest_version = $version;
|
||||
break;
|
||||
if ($version !== 'master') {
|
||||
$latest_version = $version;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$latest_version) {
|
||||
|
||||
Reference in New Issue
Block a user