swc/scripts/cargo/bump.sh

12 lines
239 B
Bash
Raw Normal View History

2021-10-31 12:17:31 +03:00
#!/usr/bin/env bash
set -eu
2021-11-03 07:55:27 +03:00
git pull || true
2021-11-02 08:53:13 +03:00
2021-10-31 12:17:31 +03:00
cargo mono bump $@
# Ensure that Cargo.lock is up-to-date
cargo metadata --format-version 1 > /dev/null
git add -A
2021-11-02 08:53:13 +03:00
git commit -m 'chore: Publish crates'
git push
cargo mono publish --no-verify