fix apps managed by Composer (eg. projectmanager) are not updated

this was done on purpuse to let Composer take care of it, but it does not happen
(probably because we are just on a branch not a tag, hash / version)
This commit is contained in:
Ralf Becker 2019-04-01 18:08:56 +02:00
parent fcdfcefb00
commit 8f613c7bc6

View File

@ -231,9 +231,9 @@ $failed = array();
$succieded = 0;
foreach(scandir(__DIR__) as $dir)
{
if ($dir !== '..' && file_exists(__DIR__.'/'.$dir.'/.git') &&
if ($dir !== '..' && file_exists(__DIR__.'/'.$dir.'/.git'))
// these apps / dirs are managed by composer, no need to run manual updates
!in_array($dir, ['vendor', 'activesync', 'collabora', 'projectmanager', 'tracker']))
//!in_array($dir, ['vendor', 'activesync', 'collabora', 'projectmanager', 'tracker']))
{
$cmd = "cd $dir ; $git stash -q ; ";
// switch message about detached head off for release-channel/tags