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
|
2022-01-07 14:03:03 +03:00
|
|
|
|
|
|
|
# Ensure that dependencies are all verified
|
|
|
|
./scripts/crev/verify.sh
|
|
|
|
|
2022-02-09 14:35:36 +03:00
|
|
|
export GIT_COMMITTER_NAME="SWC Bot"
|
|
|
|
export GIT_COMMITTER_EMAIL="bot@swc.rs"
|
|
|
|
|
2021-12-19 08:11:08 +03:00
|
|
|
git add -A
|
2022-02-09 14:31:32 +03:00
|
|
|
git commit --author="SWC Bot <bot@swc.rs>" -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
|