Update command for installing plugin dependencies according to the Composer V2 version (#3615)
This commit is contained in:
parent
bb97376a2e
commit
1dfc075609
|
@ -20,7 +20,7 @@ echo "(Environment: $APPLICATION_ENV)"
|
|||
|
||||
if [ "$APPLICATION_ENV" = "production" ]; then
|
||||
if bool "$COMPOSER_PLUGIN_MODE"; then
|
||||
composer update --lock --no-dev --optimize-autoloader
|
||||
composer update --no-dev --optimize-autoloader
|
||||
fi
|
||||
else
|
||||
if [ "$APPLICATION_ENV" = "testing" ]; then
|
||||
|
|
|
@ -20,7 +20,7 @@ echo "(Environment: $APPLICATION_ENV)"
|
|||
|
||||
if [ "$APPLICATION_ENV" = "production" ]; then
|
||||
if bool "$COMPOSER_PLUGIN_MODE"; then
|
||||
composer update --lock --no-dev --optimize-autoloader
|
||||
composer update --no-dev --optimize-autoloader
|
||||
fi
|
||||
else
|
||||
composer install
|
||||
|
|
Loading…
Reference in New Issue