diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-25 16:30:45 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-25 16:30:45 +0200 |
commit | 4f133041819409a72cf70fa2fa6c4df14c6de4fd (patch) | |
tree | 48392491b4f4521225a9d0c240cb1f3f73283607 | |
parent | 945075ad45d4f226bb368c21d8f50abf2479d73b (diff) | |
download | PeerTube-4f133041819409a72cf70fa2fa6c4df14c6de4fd.tar.gz PeerTube-4f133041819409a72cf70fa2fa6c4df14c6de4fd.tar.zst PeerTube-4f133041819409a72cf70fa2fa6c4df14c6de4fd.zip |
Rename 'npm run upgrade' to 'npm run upgrade-peertube'
It was confusing with the command 'npm run update'
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | package.json | 3 | ||||
-rwxr-xr-x | scripts/upgrade-peertube.sh (renamed from scripts/upgrade.sh) | 0 |
3 files changed, 3 insertions, 2 deletions
@@ -178,7 +178,7 @@ You can check the application (CORS headers, tracker websocket...) by running: | |||
178 | The following commands will upgrade the source (according to your current branch), upgrade node modules and rebuild client application: | 178 | The following commands will upgrade the source (according to your current branch), upgrade node modules and rebuild client application: |
179 | 179 | ||
180 | # systemctl stop peertube | 180 | # systemctl stop peertube |
181 | $ npm run upgrade | 181 | $ npm run upgrade-peertube |
182 | # systemctl start peertube | 182 | # systemctl start peertube |
183 | 183 | ||
184 | ### Development | 184 | ### Development |
diff --git a/package.json b/package.json index f795dff90..93193fe2f 100644 --- a/package.json +++ b/package.json | |||
@@ -34,7 +34,8 @@ | |||
34 | "dev:client": "scripty", | 34 | "dev:client": "scripty", |
35 | "start": "node dist/server", | 35 | "start": "node dist/server", |
36 | "check": "ts-node ./scripts/check.ts", | 36 | "check": "ts-node ./scripts/check.ts", |
37 | "upgrade": "scripty", | 37 | "upgrade-peertube": "scripty", |
38 | "upgrade": "echo 'This command was renamed to upgrade-peertube.'", | ||
38 | "update-host": "ts-node ./scripts/update-host.ts", | 39 | "update-host": "ts-node ./scripts/update-host.ts", |
39 | "test": "scripty", | 40 | "test": "scripty", |
40 | "help": "scripty", | 41 | "help": "scripty", |
diff --git a/scripts/upgrade.sh b/scripts/upgrade-peertube.sh index ff6dce94f..ff6dce94f 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade-peertube.sh | |||