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

@ -360,8 +360,8 @@ function do_tag()
// might require more then one run, as pushed tags need to be picked up by packagist // might require more then one run, as pushed tags need to be picked up by packagist
$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;