mirror of https://github.com/icedland/iced.git
Remove old pkg dir before creating release tgz file
This commit is contained in:
parent
08f5389eef
commit
995de22625
|
@ -92,6 +92,7 @@ gen_release() {
|
||||||
curr_dir=$(pwd)
|
curr_dir=$(pwd)
|
||||||
cd "$root_dir/src/rust/iced-x86-js"
|
cd "$root_dir/src/rust/iced-x86-js"
|
||||||
|
|
||||||
|
rm -rf pkg/
|
||||||
wasm-pack build --mode force --target nodejs
|
wasm-pack build --mode force --target nodejs
|
||||||
mkdir pkg/tests
|
mkdir pkg/tests
|
||||||
cp ../../../LICENSE.txt pkg
|
cp ../../../LICENSE.txt pkg
|
||||||
|
|
Loading…
Reference in New Issue