mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 17:54:15 +03:00
chore: Improve update script
This commit is contained in:
parent
45c11f6e4a
commit
ad932f0921
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user