aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-24 10:17:44 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-24 10:17:44 +0200
commit62be8e11e2397f65b773d377ee2bed5f8cf24f09 (patch)
treef76fab442bc4abb4ccb305041e29a3048e47ff7a
parent9e580054399e3d40b0cc366afc80ceb7426ad590 (diff)
downloadPeerTube-62be8e11e2397f65b773d377ee2bed5f8cf24f09.tar.gz
PeerTube-62be8e11e2397f65b773d377ee2bed5f8cf24f09.tar.zst
PeerTube-62be8e11e2397f65b773d377ee2bed5f8cf24f09.zip
Don't generate yarn lockfile on upgrade
-rw-r--r--package.json2
-rwxr-xr-xscripts/upgrade.sh4
2 files changed, 2 insertions, 4 deletions
diff --git a/package.json b/package.json
index ac542c3f9..f795dff90 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,7 @@
38 "update-host": "ts-node ./scripts/update-host.ts", 38 "update-host": "ts-node ./scripts/update-host.ts",
39 "test": "scripty", 39 "test": "scripty",
40 "help": "scripty", 40 "help": "scripty",
41 "postinstall": "cd client && yarn install", 41 "postinstall": "cd client && yarn install --pure-lockfile",
42 "tsc": "tsc", 42 "tsc": "tsc",
43 "nodemon": "nodemon", 43 "nodemon": "nodemon",
44 "ts-node": "ts-node", 44 "ts-node": "ts-node",
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
26git pull origin $(git rev-parse --abbrev-ref HEAD) || exit -1 26git pull origin $(git rev-parse --abbrev-ref HEAD) || exit -1
27 27
28yarn install 28yarn install --pure-lockfile
29yarn upgrade
30cd client && yarn upgrade && cd ../
31npm run build 29npm run build
32 30
33echo "\n\nUpgrade finished! You can restart PeerTube that may run the migration scripts." 31echo "\n\nUpgrade finished! You can restart PeerTube that may run the migration scripts."