mirror of
https://git.um-react.app/um/lib_um_crypto_rust.git
synced 2026-03-07 20:19:51 +00:00
11 lines
264 B
Bash
Executable File
11 lines
264 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ ! "$GITHUB_REF" =~ ^refs/tags/ ]]; then
|
|
echo "skip package publish, pack only."
|
|
pnpm pack
|
|
exit 0
|
|
fi
|
|
|
|
pnpm config set -- '//git.um-react.app/api/packages/um/npm/:_authToken' "${NPM_TOKEN}"
|
|
pnpm publish --access=public --no-git-checks
|