mirror of
https://git.um-react.app/um/lib_um_crypto_rust.git
synced 2026-03-07 20:19:51 +00:00
CI: Build and publish (#7)
Reviewed-on: https://git.unlock-music.dev/um/lib_um_crypto_rust/pulls/7 Co-authored-by: 鲁树人 <lu.shuren@um-react.app> Co-committed-by: 鲁树人 <lu.shuren@um-react.app>
This commit is contained in:
10
um_wasm_loader/ci_publish.sh
Executable file
10
um_wasm_loader/ci_publish.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user