Skip to content

Commit

Permalink
chore: Improve update script
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 21, 2024
1 parent 45c11f6 commit ad932f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-all-swc-crates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad932f0

Please sign in to comment.