upload artifact of wasm binary (#571)

fix #570
This commit is contained in:
fdb-hiroshima 2019-05-10 15:38:43 +02:00 committed by GitHub
parent 33619abdfb
commit 90f6ef0380
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -216,6 +216,9 @@ jobs:
- store_artifacts: - store_artifacts:
path: plume.tar.gz path: plume.tar.gz
destination: plume.tar.gz destination: plume.tar.gz
- store_artifacts:
path: wasm.tar.gz
destination: wasm.tar.gz
push translations: push translations:
executor: executor:

View file

@ -2,4 +2,5 @@
mkdir bin mkdir bin
cp target/release/{plume,plm} bin cp target/release/{plume,plm} bin
strip -s bin/* strip -s bin/*
tar -cvzf plume.tar.gz bin/ static/ migrations/$FEATURES tar -cvzf plume.tar.gz bin/ static/
tar -cvzf wasm.tar.gz static/plume-front.{js,wasm}