diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-17 16:17:22 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-18 10:14:25 +0100 |
commit | 03d641a0d7f996de44ec898ad739bc4050514ba1 (patch) | |
tree | dc8d36a945133fdc91fa279b9c97a22f1ec11465 /scripts/release-embed-api.sh | |
parent | c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9 (diff) | |
download | PeerTube-03d641a0d7f996de44ec898ad739bc4050514ba1.tar.gz PeerTube-03d641a0d7f996de44ec898ad739bc4050514ba1.tar.zst PeerTube-03d641a0d7f996de44ec898ad739bc4050514ba1.zip |
Add embed api build
Diffstat (limited to 'scripts/release-embed-api.sh')
-rwxr-xr-x | scripts/release-embed-api.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/release-embed-api.sh b/scripts/release-embed-api.sh new file mode 100755 index 000000000..ae76a65f5 --- /dev/null +++ b/scripts/release-embed-api.sh | |||
@@ -0,0 +1,11 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | set -eu | ||
4 | |||
5 | cd client/src/standalone/player | ||
6 | |||
7 | rm -rf dist build && tsc -p . && ../../../node_modules/.bin/webpack --config ./webpack.config.js | ||
8 | |||
9 | npm publish --access public | ||
10 | |||
11 | rm -rf dist build node_modules | ||