FEATURE: add check for failed git pull in update
This commit is contained in:
+9
-2
@@ -31,8 +31,15 @@ fi
|
|||||||
git checkout $BRANCH
|
git checkout $BRANCH
|
||||||
git pull origin $BRANCH
|
git pull origin $BRANCH
|
||||||
|
|
||||||
|
if [ ! $? -eq 0 ]; then
|
||||||
|
echo " *****************************"
|
||||||
|
echo " * ERROR: cannot do git pull *"
|
||||||
|
echo " *****************************"
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
|
|
||||||
php artisan migrate
|
php artisan migrate
|
||||||
php artisan vendor:publish --tag=module-views --force
|
php artisan vendor:publish --tag=module-views --force -n
|
||||||
php artisan vendor:publish --tag=public-assets --force
|
php artisan vendor:publish --tag=public-assets --force -n
|
||||||
|
|
||||||
composer install --no-dev
|
composer install --no-dev
|
||||||
|
|||||||
Reference in New Issue
Block a user