lib_um_crypto_rust/um_wasm_loader/ci_publish.sh
鲁树人 82e470aa9c
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build was killed
continuous-integration/drone/tag Build is passing
ci: publish without git checks
2024-09-24 22:28:16 +01:00

11 lines
254 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 --no-git-checks