seem Composer 2.x need --prefer-source to not remove the .git dirs on update

This commit is contained in:
ralf 2022-04-06 14:10:35 +03:00
parent 47b457b73b
commit 8bd1a91050

View File

@ -361,7 +361,7 @@ function do_tag()
$output = $ret = null; $output = $ret = null;
$timeout = 30; $timeout = 30;
$try = 0; $try = 0;
$cmd = $config['composer'].' update --ignore-platform-reqs --no-dev egroupware/\*'; $cmd = $config['composer'].' update --ignore-platform-reqs --no-dev --prefer-source egroupware/\*';
while(run_cmd($cmd, $output, 2)) while(run_cmd($cmd, $output, 2))
{ {
++$try; ++$try;