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", "update-host": "ts-node ./scripts/update-host.ts",
"test": "scripty", "test": "scripty",
"help": "scripty", "help": "scripty",
"postinstall": "cd client && yarn install", "postinstall": "cd client && yarn install --pure-lockfile",
"tsc": "tsc", "tsc": "tsc",
"nodemon": "nodemon", "nodemon": "nodemon",
"ts-node": "ts-node", "ts-node": "ts-node",

View File

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