diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-02 15:33:58 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-02 15:37:18 +0100 |
commit | 29f148a61381727a432c22a71c7a2b7cc23d9c9e (patch) | |
tree | d8830f17bc7e1a98484240a9977e208699da1d00 /scripts/nightly.sh | |
parent | 69eddafb17c4cf8e5a6dbd19e6d216c58140d153 (diff) | |
download | PeerTube-29f148a61381727a432c22a71c7a2b7cc23d9c9e.tar.gz PeerTube-29f148a61381727a432c22a71c7a2b7cc23d9c9e.tar.zst PeerTube-29f148a61381727a432c22a71c7a2b7cc23d9c9e.zip |
Add ability to build client with source maps
Diffstat (limited to 'scripts/nightly.sh')
-rwxr-xr-x | scripts/nightly.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nightly.sh b/scripts/nightly.sh index c4c6f87b5..5ad603929 100755 --- a/scripts/nightly.sh +++ b/scripts/nightly.sh | |||
@@ -18,7 +18,7 @@ today=$(date '+%F') | |||
18 | directory_name="peertube-nightly-$today" | 18 | directory_name="peertube-nightly-$today" |
19 | tar_name="peertube-nightly-$today.tar.xz" | 19 | tar_name="peertube-nightly-$today.tar.xz" |
20 | 20 | ||
21 | npm run build | 21 | npm run build -- --source-map |
22 | 22 | ||
23 | nightly_version="nightly-$today" | 23 | nightly_version="nightly-$today" |
24 | sed -i 's/"version": "\([^"]\+\)"/"version": "\1-'"$nightly_version"'"/' ./package.json | 24 | sed -i 's/"version": "\([^"]\+\)"/"version": "\1-'"$nightly_version"'"/' ./package.json |