ci: publish or pack
This commit is contained in:
parent
00eb6ac46e
commit
91dfad4ec8
@ -27,5 +27,4 @@ steps:
|
|||||||
- cd um_wasm_loader
|
- cd um_wasm_loader
|
||||||
- pnpm i
|
- pnpm i
|
||||||
- BUILD_SKIP_WASM_PACK=1 pnpm build
|
- BUILD_SKIP_WASM_PACK=1 pnpm build
|
||||||
- pnpm pack
|
|
||||||
- ./ci_publish.sh
|
- ./ci_publish.sh
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ -z "${DRONE_TAG}" ]]; then
|
if [[ -z "${DRONE_TAG}" ]]; then
|
||||||
echo "skip package publish"
|
echo "skip package publish, pack only."
|
||||||
|
pnpm pack
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user