Skip to content
This repository was archived by the owner on Nov 16, 2021. It is now read-only.

Commit a648e09

Browse files
committed
[skip ci] Minor adjustments to tarball infrastructure.
1 parent 8957b30 commit a648e09

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Composer/ConfigureLegacyProject.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ public static function execute(Event $event) {
4545
$project['extra']['installer-types'] = ['bower-asset', 'npm-asset'];
4646
$project['extra']['patchLevel']['drupal/core'] = '-p2';
4747

48+
// Ensure there are no "empty" sections, since Composer
49+
// might complain about those.
50+
$project = array_filter($project);
4851
$target->write($project);
4952
}
5053

tarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [[ ! $YAML_CLI ]]; then
1111
exit 1
1212
fi
1313

14-
composer create-project --stability beta --no-install drupal/legacy-project:~8.8.0 $ARCHIVE
14+
composer create-project --no-install drupal/legacy-project:~8.8.0 $ARCHIVE
1515
composer dump-autoload
1616
composer configure-tarball $ARCHIVE
1717

0 commit comments

Comments
 (0)