ci: publish or pack

This commit is contained in:
鲁树人 2024-09-24 22:05:11 +01:00
parent 00eb6ac46e
commit 91dfad4ec8
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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