swc/scripts/cargo/bump.sh
2021-11-03 13:55:27 +09:00

12 lines
239 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
git pull || true
cargo mono bump $@
# Ensure that Cargo.lock is up-to-date
cargo metadata --format-version 1 > /dev/null
git add -A
git commit -m 'chore: Publish crates'
git push
cargo mono publish --no-verify