From 62be8e11e2397f65b773d377ee2bed5f8cf24f09 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sat, 24 Jun 2017 10:17:44 +0200 Subject: Don't generate yarn lockfile on upgrade --- scripts/upgrade.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts/upgrade.sh') diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index 748b0d947..ff6dce94f 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -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." -- cgit v1.2.3