From 8bd1a910503bef48d2650f4607844d9e731ced8f Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 6 Apr 2022 14:10:35 +0300 Subject: [PATCH] seem Composer 2.x need --prefer-source to not remove the .git dirs on update --- doc/rpm-build/checkout-build-archives.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/rpm-build/checkout-build-archives.php b/doc/rpm-build/checkout-build-archives.php index 3727b37947..97c83a7854 100755 --- a/doc/rpm-build/checkout-build-archives.php +++ b/doc/rpm-build/checkout-build-archives.php @@ -360,8 +360,8 @@ function do_tag() // might require more then one run, as pushed tags need to be picked up by packagist $output = $ret = null; $timeout = 30; - $try = 0; - $cmd = $config['composer'].' update --ignore-platform-reqs --no-dev egroupware/\*'; + $try = 0; + $cmd = $config['composer'].' update --ignore-platform-reqs --no-dev --prefer-source egroupware/\*'; while(run_cmd($cmd, $output, 2)) { ++$try;