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:
parent
b4ad2bef61
commit
e26e57e193
7 changed files with 63 additions and 52 deletions
14
bin/build-upload
Executable file
14
bin/build-upload
Executable 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
|
||||
|
||||
Loading…
Reference in a new issue