Skip to content

Commit

Permalink
Fix bump script
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Dec 21, 2023
1 parent cd3e7f7 commit 4453261
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions scripts/bump-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,7 @@ function bumpNpm {
(cd $1 && yarn version --no-git-tag-version --patch)
}

function bumpCargo {
cargo mono bump $1 --breaking || true
}

CRATES="$(cargo metadata --format-version 1 \
| jq -r '.packages[] | select(.source == null and .publish == null) | .name')"



for CRATE in $CRATES
do
bumpCargo $CRATE
git commit -a -m "Bump cargo crate: ${CRATE}" || true
done
cargo set-version --workspace --bump major

for PKG in ./packages/*; do
bumpNpm $PKG
Expand Down

0 comments on commit 4453261

Please sign in to comment.