mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
18 lines
400 B
Bash
Executable File
18 lines
400 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
git pull || true
|
|
|
|
yarn changelog
|
|
(cd ./bindings && cargo mono bump swc_cli)
|
|
# Ensure that Cargo.lock is up-to-date
|
|
(cd ./bindings && cargo metadata --format-version 1 > /dev/null)
|
|
|
|
# Ensure that dependencies are all verified
|
|
./scripts/crev/verify.sh
|
|
|
|
git add -A
|
|
git commit -m 'chore: Publish crates'
|
|
git push --no-verify
|
|
(cd ./bindings && cargo mono publish --no-verify)
|