From 90f6ef0380fb3209a3c68963ba32cf85bdd72112 Mon Sep 17 00:00:00 2001 From: fdb-hiroshima <35889323+fdb-hiroshima@users.noreply.github.com> Date: Fri, 10 May 2019 15:38:43 +0200 Subject: [PATCH] upload artifact of wasm binary (#571) fix #570 --- .circleci/config.yml | 3 +++ script/generate_artifact.sh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 00b77c1..3dab247 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -216,6 +216,9 @@ jobs: - store_artifacts: path: plume.tar.gz destination: plume.tar.gz + - store_artifacts: + path: wasm.tar.gz + destination: wasm.tar.gz push translations: executor: diff --git a/script/generate_artifact.sh b/script/generate_artifact.sh index fabbd19..c61087c 100755 --- a/script/generate_artifact.sh +++ b/script/generate_artifact.sh @@ -2,4 +2,5 @@ mkdir bin cp target/release/{plume,plm} 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}