mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-24 03:26:31 +03:00
21 lines
294 B
Bash
Executable File
21 lines
294 B
Bash
Executable File
#!/bin/bash
|
|
|
|
packages=(
|
|
"y-indexeddb"
|
|
"infra"
|
|
"plugin-infra"
|
|
)
|
|
|
|
for package in "${packages[@]}"; do
|
|
yarn nx build $package
|
|
cd "packages/$package"
|
|
|
|
if [ "$NIGHTLY" = "true" ]; then
|
|
yarn npm publish --no-git-checks --tag nightly
|
|
else
|
|
yarn npm publish
|
|
fi
|
|
|
|
cd ../../
|
|
done
|