Fix upgrade script (again...)
authorBigard Florian <florian.bigard@gmail.com>
Thu, 27 Apr 2017 14:00:10 +0000 (16:00 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Apr 2017 14:00:10 +0000 (16:00 +0200)
scripts/upgrade.sh

index af2ab4be4c23d9cd46d019930978c4646696ce38..748b0d947fde5ddcd41d4d3e6c273e8c96512106 100755 (executable)
@@ -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."