lib_um_crypto_rust/um_wasm_loader/ci_publish.sh

10 lines
212 B
Bash
Raw Normal View History

2024-09-24 21:01:29 +00:00
#!/bin/bash
2024-09-24 21:04:45 +00:00
if [[ -z "${DRONE_TAG}" ]]; then
echo "skip package publish"
exit 0
fi
2024-09-24 21:01:29 +00:00
echo '//git.unlock-music.dev/api/packages/um/npm/:_authToken=${NPM_TOKEN}' > $HOME/.npmrc
pnpm publish --access=public