mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
ci: add release.yml
This commit is contained in:
18
scripts/publish.sh
Executable file
18
scripts/publish.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user