complete es module wrappers

update manifold to current npm
update csg to use new manifold
remove manifold npm pre install download from static
This commit is contained in:
Stewart Allen 2024-06-29 07:14:20 -04:00
commit e26e57e193
7 changed files with 63 additions and 52 deletions

14
bin/build-upload Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
target=$1
tag=${2:-latest}
echo "build and release target=$target tag=$tag"
[ -z "$target" ] && echo "missing target" && exit
[ -z "$tag" ] && echo "missing tag" && exit
rm -rf dist && npm run build-${target} && for i in dist/*{exe,dmg,AppImage}; do
if [ -f "$i" ]; then
bn=$(basename $i)
gh release delete-asset ${tag} ${bn} -y
gh release upload ${tag} ${i}
fi
done