1 2 3 4 5 6 7 8
#!/bin/sh set -euo pipefail cargo set-version "$2" cargo check git add Cargo.toml git commit -sm "Bump version to $2"