lib_um_crypto_rust/um_wasm_loader/ci_publish.sh
鲁树人 2ad318b37f
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
ci: skip corepack auto pin, clean up
2024-09-24 22:21:58 +01:00

11 lines
238 B
Bash
Executable File

#!/bin/bash
if [[ -z "${DRONE_TAG}" ]]; then
echo "skip package publish, pack only."
pnpm pack
exit 0
fi
echo '//git.unlock-music.dev/api/packages/um/npm/:_authToken=${NPM_TOKEN}' > $HOME/.npmrc
pnpm publish --access=public