swc/scripts/cargo/bump.sh

17 lines
347 B
Bash
Raw Normal View History

2021-10-31 12:17:31 +03:00
#!/usr/bin/env bash
set -eu
2021-12-19 08:11:08 +03:00
git pull || true
yarn changelog
cargo mono bump -i
# Ensure that Cargo.lock is up-to-date
2022-01-07 09:18:26 +03:00
cargo metadata --offline --format-version 1 > /dev/null
# Ensure that dependencies are all verified
./scripts/crev/verify.sh
2021-12-19 08:11:08 +03:00
git add -A
git commit -m 'chore: Publish crates'
2022-01-27 19:13:16 +03:00
git push --no-verify
2021-12-19 08:11:08 +03:00
cargo mono publish --no-verify