Compare commits
3 Commits
6eda801b1c
...
a7f2a273d4
Author | SHA1 | Date | |
---|---|---|---|
a7f2a273d4 | |||
91dfad4ec8 | |||
00eb6ac46e |
@ -27,10 +27,4 @@ steps:
|
|||||||
- cd um_wasm_loader
|
- cd um_wasm_loader
|
||||||
- pnpm i
|
- pnpm i
|
||||||
- BUILD_SKIP_WASM_PACK=1 pnpm build
|
- BUILD_SKIP_WASM_PACK=1 pnpm build
|
||||||
- pnpm pack
|
- ./ci_publish.sh
|
||||||
- |
|
|
||||||
if [ -n "${DRONE_TAG}" ]; then
|
|
||||||
./ci_publish.sh
|
|
||||||
else
|
|
||||||
echo "skip package publish"
|
|
||||||
fi
|
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/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
|
echo '//git.unlock-music.dev/api/packages/um/npm/:_authToken=${NPM_TOKEN}' > $HOME/.npmrc
|
||||||
pnpm publish --access=public
|
pnpm publish --access=public
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@unlock-music/crypto",
|
"name": "@unlock-music/crypto",
|
||||||
"version": "0.0.0-alpha.18",
|
"version": "0.0.0-alpha.19",
|
||||||
"description": "Project Unlock Music: 加解密支持库",
|
"description": "Project Unlock Music: 加解密支持库",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "node build.js",
|
"build": "node build.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user