We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b1c41 commit 9623a3cCopy full SHA for 9623a3c
publish.sh
@@ -52,7 +52,7 @@ else
52
exit -1
53
fi
54
55
-# run wasm-pack
+# run wasm-pack to see if there is any bugs
56
if wasm-pack build float-pigment-css --target nodejs --features nodejs-package; then
57
echo 'WebAssembly built for float-pigment-css.'
58
else
@@ -114,6 +114,14 @@ else
114
115
116
117
+# run wasm-pack again to update package version
118
+if wasm-pack build float-pigment-css --target nodejs --features nodejs-package; then
119
+ echo 'WebAssembly built for float-pigment-css.'
120
+else
121
+ echo 'Failed to build WebAssembly package for float-pigment-css! Abort.'
122
+ exit -1
123
+fi
124
+
125
# cargo publish
126
echo "Ready to publish version ${VERSION}."
127
for PROJECT in $PROJECTS; do
0 commit comments