diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-11 09:29:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-06-11 09:29:33 +0200 |
commit | 50a04125dac1a126cb79a9fb575fcf673c5ac2d6 (patch) | |
tree | 2fae913f202ccb880e25b067ccb6090dbc6b0542 | |
parent | d840487fed32b4604b02030c0d7464afa925904f (diff) | |
download | PeerTube-50a04125dac1a126cb79a9fb575fcf673c5ac2d6.tar.gz PeerTube-50a04125dac1a126cb79a9fb575fcf673c5ac2d6.tar.zst PeerTube-50a04125dac1a126cb79a9fb575fcf673c5ac2d6.zip |
Fix npm run build
-rwxr-xr-x | scripts/build/client.sh | 4 | ||||
-rwxr-xr-x | scripts/release.sh | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 31b55dbf5..a86404c6f 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -148,10 +148,6 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then | |||
148 | done | 148 | done |
149 | fi | 149 | fi |
150 | 150 | ||
151 | if [ "$1" != "--analyze" ]; then | ||
152 | rm "./dist/en-US/stats-es2015.json" | ||
153 | fi | ||
154 | |||
155 | cd ../ && npm run build:embed && cd client/ | 151 | cd ../ && npm run build:embed && cd client/ |
156 | 152 | ||
157 | # Copy runtime locales | 153 | # Copy runtime locales |
diff --git a/scripts/release.sh b/scripts/release.sh index cc0a586e9..665f690bb 100755 --- a/scripts/release.sh +++ b/scripts/release.sh | |||
@@ -66,7 +66,7 @@ git commit package.json client/package.json ./support/doc/api/openapi.yaml -m "B | |||
66 | git tag -s -a "$version" -m "$version" | 66 | git tag -s -a "$version" -m "$version" |
67 | 67 | ||
68 | npm run build | 68 | npm run build |
69 | rm -f "./client/dist/en_US/stats.json" | 69 | rm -f "./client/dist/en-US/stats.json" |
70 | rm -f "./client/dist/embed-stats.json" | 70 | rm -f "./client/dist/embed-stats.json" |
71 | 71 | ||
72 | # Creating the archives | 72 | # Creating the archives |