chore: Improve update script

This commit is contained in:
강동윤 (Donny) 2024-03-21 11:02:43 +09:00
parent 45c11f6e4a
commit ad932f0921

View File

@ -4,7 +4,7 @@ set -eu
echo "Listing all swc crates"
crates=$(cargo metadata --format-version=1 | jq '.packages .[] | select(.repository == "https://github.com/swc-project/swc.git") | .name')
crates=$(cargo metadata --format-version=1 | jq '.packages .[] | select(.repository == "https://github.com/swc-project/swc.git" or .repository == "https://github.com/swc-project/plugins.git") | .name')
command="cargo upgrade --incompatible --recursive false"
for crate in $crates; do