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