swc/scripts/cargo/bump.sh
2022-01-07 20:03:03 +09:00

17 lines
335 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
git pull || true
yarn changelog
cargo mono bump -i
# Ensure that Cargo.lock is up-to-date
cargo metadata --offline --format-version 1 > /dev/null
# Ensure that dependencies are all verified
./scripts/crev/verify.sh
git add -A
git commit -m 'chore: Publish crates'
git push
cargo mono publish --no-verify