Don't generate yarn lockfile on upgrade

pull/71/head
Chocobozzz 2017-06-24 10:17:44 +02:00
parent 9e58005439
commit 62be8e11e2
2 changed files with 2 additions and 4 deletions

View File

@ -38,7 +38,7 @@
"update-host": "ts-node ./scripts/update-host.ts",
"test": "scripty",
"help": "scripty",
"postinstall": "cd client && yarn install",
"postinstall": "cd client && yarn install --pure-lockfile",
"tsc": "tsc",
"nodemon": "nodemon",
"ts-node": "ts-node",

View File

@ -25,9 +25,7 @@ fi
git pull origin $(git rev-parse --abbrev-ref HEAD) || exit -1
yarn install
yarn upgrade
cd client && yarn upgrade && cd ../
yarn install --pure-lockfile
npm run build
echo "\n\nUpgrade finished! You can restart PeerTube that may run the migration scripts."