From 233c984b0e28f611542d3cc23aa9f7a0db93e13b 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 99d4098783..6ee7a8a54f 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;