blob: c2ded2cdd9f81ffef5f57c6b9dd583433a23dbef (
plain) (
tree)
|
|
#!/bin/sh -eu
old_version="$1"
new_version="$2"
sed -i "s/version = \"$old_version\"/version = \"$new_version\"/" Cargo.toml
git add Cargo.toml
git commit -m "Update version to $new_version"
|