ci: add release.yml

This commit is contained in:
himself65
2023-04-20 17:45:45 -05:00
parent c4e90f2d8b
commit e399682cad
4 changed files with 39 additions and 1 deletions

18
scripts/publish.sh Executable file
View 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