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