change bump-version to install jq if its not already installed

This commit is contained in:
Kay Simmons 2022-11-18 13:42:46 -08:00
parent bb80cee19e
commit 0078bea877

View File

@ -13,6 +13,7 @@ if [[ -n $(git status --short --untracked-files=no) ]]; then
fi fi
which cargo-set-version > /dev/null || cargo install cargo-edit which cargo-set-version > /dev/null || cargo install cargo-edit
which jq > /dev/null || brew install jq
cargo set-version --package $package --bump $version_increment cargo set-version --package $package --bump $version_increment
cargo check --quiet cargo check --quiet