mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 07:02:28 +03:00
20 lines
456 B
Bash
Executable File
20 lines
456 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
git pull || true
|
|
|
|
yarn changelog
|
|
cargo mono bump -i
|
|
# Ensure that Cargo.lock is up-to-date
|
|
cargo metadata --offline --format-version 1 > /dev/null
|
|
|
|
# Ensure that dependencies are all verified
|
|
./scripts/crev/verify.sh
|
|
|
|
export GIT_COMMITTER_NAME="SWC Bot"
|
|
export GIT_COMMITTER_EMAIL="bot@swc.rs"
|
|
|
|
git add -A
|
|
git commit --author="SWC Bot <bot@swc.rs>" -m 'chore: Publish crates'
|
|
git push --no-verify
|
|
cargo mono publish --no-verify |