plugin fix and trigger all ci
All checks were successful
ci/woodpecker/push/tools-wasm-pack-plugin Pipeline was successful
ci/woodpecker/push/wasm-o-x-rust Pipeline was successful

This commit is contained in:
2022-08-07 01:59:08 +00:00
parent 11ded7b3d5
commit 0f952aef2f
2 changed files with 3 additions and 1 deletions

View File

@@ -28,12 +28,13 @@ if [[ "${PLUGIN_ACTIONS}" =~ '(^|,)build(,|$)' ]]; then
wasm-pack build --${PLUGIN_BUILD_PROFILE:-release} --scope ${PLUGIN_SCOPE}
fi
if [ "${PLUGIN_MAKE:-}" != ""]; then
if [ "${PLUGIN_MAKE:-}" != "" ]; then
make ${PLUGIN_MAKE}
fi
fi
if [[ "${PLUGIN_ACTIONS}" =~ '(^|,)publish(,|$)' ]]; then
cd pkg
REGISTRY=${PLUGIN_REGISTRY:-https://registry.npmjs.org/}
if [ "${PLUGIN_SCOPE:-}" = "" ]; then