v2board/update_dev.sh
2021-10-13 21:00:21 +08:00

8 lines
306 B
Bash
Executable File

git fetch --all && git reset --hard origin/dev && git pull origin dev
rm -rf composer.lock composer.phar
wget https://github.com/composer/composer/releases/latest/download/composer.phar -O composer.phar
php composer.phar update -vvv
php artisan v2board:update
php artisan config:cache
pm2 restart pm2.yaml