Skip to content

Commit

Permalink
upload .wasm files directly in release
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Feb 9, 2024
1 parent 3e5fce3 commit 7a056e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/aicirt-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ jobs:
files: |
target/dist/*.tar.gz
target/dist/*.tar.xz
target/dist/*.wasm
6 changes: 5 additions & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a056e3

Please sign in to comment.