swc/scripts/cargo/bump.sh
2021-12-19 14:11:08 +09:00

13 lines
254 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 --format-version 1 > /dev/null
git add -A
git commit -m 'chore: Publish crates'
git push
cargo mono publish --no-verify