update: updata.sh

This commit is contained in:
xboard 2023-11-18 14:44:44 +08:00
parent 4ab3eb9ce8
commit cdc766c72b

View File

@ -11,7 +11,7 @@ if ! command -v git &> /dev/null; then
fi
git config --global --add safe.directory $(pwd)
git fetch --all && git reset --hard origin/master && git pull origin master
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