From 7a056e3ef3955471058edfb1a44b0a309dd6a303 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Fri, 9 Feb 2024 23:22:31 +0000 Subject: [PATCH] upload .wasm files directly in release --- .github/workflows/aicirt-release.yml | 1 + scripts/release.sh | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/aicirt-release.yml b/.github/workflows/aicirt-release.yml index cb7184f0..e4616ba3 100644 --- a/.github/workflows/aicirt-release.yml +++ b/.github/workflows/aicirt-release.yml @@ -31,3 +31,4 @@ jobs: files: | target/dist/*.tar.gz target/dist/*.tar.xz + target/dist/*.wasm diff --git a/scripts/release.sh b/scripts/release.sh index 12d7ca07..224680e7 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -56,8 +56,12 @@ if [ "$SUFF" = "wasm32-wasi" ] ; then WASM= for B in $BN ; do case $B in + aici_uppercase.wasm) + # skip + ;; aici_*.wasm) - WASM="$WASM $(basename $B .wasm | sed -e 's/aici_//; s/uppercase//')" + cp $T/$B target/dist/ + WASM="$WASM $(basename $B .wasm | sed -e 's/aici_//')" ;; esac done