Skip to content
Snippets Groups Projects
Commit 2dfa2a72 authored by Fran Garcia-Linares's avatar Fran Garcia-Linares
Browse files

Issue #3440448 by fjgarlin, cmlara, jonathan1055: When requiring drush, do it with the -W param

parent 5f246707
No related branches found
No related tags found
1 merge request!183Require drush with all dependencies
Pipeline #146830 passed
# GitLab Templates Changelog
## 1.3.7 - 2024-04-12
#3440448 - When requiring drush, do it with the the `-W` param.\
#3359927 - Document option to improve phpunit information in log.\
#3423154 - Change chromedriver for the new one used by core.
## 1.3.6 - 2024-04-10
#3426292 - Deprecate and rename some variables that were wrongly named.\
......
......@@ -75,7 +75,7 @@
composer show -- drush/drush &>/dev/null || EXIT_CODE_DRUSH_INSTALLED=$?
if [ "$EXIT_CODE_DRUSH_INSTALLED" != "" ]; then
# Install drush (if not present) but allow failures as it might not be compatible with all Drupal versions.
composer require --dev drush/drush || EXIT_CODE_DRUSH_REQUIRE=$?
composer require --dev --update-with-all-dependencies drush/drush || EXIT_CODE_DRUSH_REQUIRE=$?
if [ "$EXIT_CODE_DRUSH_REQUIRE" != "" ]; then
printf "$DIVIDER\nWARNING: Drush could NOT be installed. This is not a hard dependency for the default jobs, so this is just a warning.$DIVIDER\n"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment