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