build: fix publish.sh

This commit is contained in:
himself65 2023-06-16 15:00:06 +08:00
parent c5eb16139f
commit 03c0b6b364

View File

@ -2,13 +2,13 @@
packages=(
"y-indexeddb"
"infra",
"infra"
"plugin-infra"
)
for package in "${packages[@]}"; do
nx build $package
cd "packages/$package"
yarn build
if [ "$NIGHTLY" = "true" ]; then
yarn npm publish --no-git-checks --tag nightly