diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index af2ab4be4..748b0d947 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -26,8 +26,8 @@ fi git pull origin $(git rev-parse --abbrev-ref HEAD) || exit -1 yarn install -yarn update -cd client && yarn update && cd ../ +yarn upgrade +cd client && yarn upgrade && cd ../ npm run build echo "\n\nUpgrade finished! You can restart PeerTube that may run the migration scripts."