diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-24 10:17:44 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-24 10:17:44 +0200 |
commit | 62be8e11e2397f65b773d377ee2bed5f8cf24f09 (patch) | |
tree | f76fab442bc4abb4ccb305041e29a3048e47ff7a /scripts/upgrade.sh | |
parent | 9e580054399e3d40b0cc366afc80ceb7426ad590 (diff) | |
download | PeerTube-62be8e11e2397f65b773d377ee2bed5f8cf24f09.tar.gz PeerTube-62be8e11e2397f65b773d377ee2bed5f8cf24f09.tar.zst PeerTube-62be8e11e2397f65b773d377ee2bed5f8cf24f09.zip |
Don't generate yarn lockfile on upgrade
Diffstat (limited to 'scripts/upgrade.sh')
-rwxr-xr-x | scripts/upgrade.sh | 4 |
1 files changed, 1 insertions, 3 deletions
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 | |||
25 | 25 | ||
26 | git pull origin $(git rev-parse --abbrev-ref HEAD) || exit -1 | 26 | git pull origin $(git rev-parse --abbrev-ref HEAD) || exit -1 |
27 | 27 | ||
28 | yarn install | 28 | yarn install --pure-lockfile |
29 | yarn upgrade | ||
30 | cd client && yarn upgrade && cd ../ | ||
31 | npm run build | 29 | npm run build |
32 | 30 | ||
33 | echo "\n\nUpgrade finished! You can restart PeerTube that may run the migration scripts." | 31 | echo "\n\nUpgrade finished! You can restart PeerTube that may run the migration scripts." |