chore: add timed update workflow (#1214)

This commit is contained in:
Whitewater authored and GitHub committed 2023-03-01 12:23:54 +08:00
1 parent c81a24224e
commit c096fa156b
4 files changed
+73 -13

No files matched your search

-11
View File
@@ -1,11 +0,0 @@
#!/usr/bin/env bash
# Usage:
# ./scripts/upgrade-blocksuite.sh --latest
# ./scripts/upgrade-blocksuite.sh 0.4.0-20230209191848-0a912e3
if [ "$1" == "--latest" ]; then
pnpm up "@blocksuite/*" "!@blocksuite/icons" -r -i --latest
else
pnpm up "@blocksuite/*@${1}" "!@blocksuite/icons" -r
fi