chore: add timed update workflow (#1214)

This commit is contained in:
Whitewater
2023-02-28 20:23:54 -08:00
committed by GitHub
parent c81a24224e
commit c096fa156b
4 changed files with 73 additions and 13 deletions
-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