-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGS-5651] Workaround issue with preUpdate script. (#470)
* Run composer update twice. * Add ssh keys step. * Set platform.php instead of running composer twice. * Delete not relevant comment. * Workaround non-existing vendor folder issue to set platform.php the right way. * Some cleanup.
- Loading branch information
Showing
3 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -437,6 +437,7 @@ protected function createFromSourceProject($source, $target, $stability = '', $t | |
if ($source === '[email protected]:pantheon-upstreams/drupal-composer-managed.git' && empty($stability_flag)) { | ||
// This is not published in packagist so it needs dev stability. | ||
$stability_flag = '--stability dev'; | ||
$additional_commands[] = "mkdir $tmpsitedir/$target/vendor"; | ||
$additional_commands[] = "composer --working-dir=$tmpsitedir/$target require pantheon-upstreams/upstream-configuration:'*' --no-update"; | ||
$additional_commands[] = "composer --working-dir=$tmpsitedir/$target config minimum-stability dev"; | ||
$additional_commands[] = "composer --working-dir=$tmpsitedir/$target install -n"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters