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 50bb44d3ff
commit 233c984b0e

View File

@ -361,7 +361,7 @@ function do_tag()
$output = $ret = null;
$timeout = 30;
$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))
{
++$try;