Files
AFFiNE-Mirror/scripts/publish.sh
Himself65 b79a63ce0a feat: isolated plugin system (#2742)
(cherry picked from commit f2ac2e5b84)
2023-06-15 01:09:51 +08:00

21 lines
283 B
Bash
Executable File

#!/bin/bash
packages=(
"y-indexeddb"
"infra",
"plugin-infra"
)
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