swc/scripts/cargo/bump.sh

17 lines
337 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-03-24 06:05:47 +03:00
cargo metadata --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
2022-03-12 04:00:23 +03:00
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