build: fix publish.sh
This commit is contained in:
@@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
packages=(
|
packages=(
|
||||||
"y-indexeddb"
|
"y-indexeddb"
|
||||||
"infra",
|
"infra"
|
||||||
"plugin-infra"
|
"plugin-infra"
|
||||||
)
|
)
|
||||||
|
|
||||||
for package in "${packages[@]}"; do
|
for package in "${packages[@]}"; do
|
||||||
|
nx build $package
|
||||||
cd "packages/$package"
|
cd "packages/$package"
|
||||||
yarn build
|
|
||||||
|
|
||||||
if [ "$NIGHTLY" = "true" ]; then
|
if [ "$NIGHTLY" = "true" ]; then
|
||||||
yarn npm publish --no-git-checks --tag nightly
|
yarn npm publish --no-git-checks --tag nightly
|
||||||
|
|||||||
Reference in New Issue
Block a user