swc/scripts/cargo/bump.sh

12 lines
231 B
Bash
Raw Normal View History

2021-10-31 12:17:31 +03:00
#!/usr/bin/env bash
set -eu
2021-11-02 08:53:13 +03:00
git pull
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