fix update.sh

This commit is contained in:
rebecca554owen 2025-01-16 22:44:10 +08:00 committed by GitHub
parent d3bc8ff8fe
commit 024a9dfb54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,7 @@ if ! command -v git &> /dev/null; then
fi fi
git config --global --add safe.directory $(pwd) git config --global --add safe.directory $(pwd)
git fetch --all && git reset --hard origin/dev && git pull origin dev git fetch --all && git reset --hard origin/legacy && git pull origin legacy
rm -rf composer.lock composer.phar rm -rf composer.lock composer.phar
wget https://github.com/composer/composer/releases/latest/download/composer.phar -O composer.phar wget https://github.com/composer/composer/releases/latest/download/composer.phar -O composer.phar
php composer.phar update -vvv php composer.phar update -vvv