mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
don't get zig master branch
This commit is contained in:
parent
08388c0b15
commit
7688a55656
@ -72,8 +72,11 @@ class Zig extends CustomPackage
|
||||
|
||||
$latest_version = null;
|
||||
foreach ($index_json as $version => $data) {
|
||||
$latest_version = $version;
|
||||
break;
|
||||
// Skip the master branch, get the latest stable release
|
||||
if ($version !== 'master') {
|
||||
$latest_version = $version;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$latest_version) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user