mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 16:42:28 +03:00
16 lines
337 B
Bash
16 lines
337 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -eu
|
||
|
|
||
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||
|
|
||
|
crates=$(\
|
||
|
cargo metadata --format-version 1 \
|
||
|
| jq -r '.workspace_members[]' \
|
||
|
| cut -f1 -d" " \
|
||
|
| sort \
|
||
|
)
|
||
|
|
||
|
for crate in $crates
|
||
|
do
|
||
|
cargo publish -p $crate --dry-run --no-verify -v || true
|
||
|
done
|