From 228ffffa3e087db06fb9b75a682e504fc9ec9138 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Tue, 20 Jun 2017 19:26:04 +0200 Subject: [PATCH] add composer update to upgrade script --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 5c6ca70..fa3ec2b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -52,6 +52,8 @@ sudo sed -i "s/yunodomain/$domain/g" $final_path/.env # uses commas because path url contains a slash sudo sed -i "s,yunopath,${path_url},g" $final_path/.env +exec_composer $final_path update + # setup application config cd $final_path && /usr/bin/php7.0 artisan -q migrate --force cd $final_path && /usr/bin/php7.0 artisan -q optimize