aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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."