allow online patches in decimal format
This commit is contained in:
parent
a249ad43e8
commit
951f29769b
|
@ -835,7 +835,7 @@ class Client
|
|||
function ($carry, $item) {
|
||||
$matches = [];
|
||||
if (is_array($item) !== true
|
||||
&& preg_match('/(\d+)\.tar/', $item, $matches) > 0
|
||||
&& preg_match('/([\d\.\d]+?)\.tar/', $item, $matches) > 0
|
||||
) {
|
||||
$carry[] = [
|
||||
'version' => $matches[1],
|
||||
|
|
Loading…
Reference in New Issue