aboutsummaryrefslogtreecommitdiff
path: root/contrib/_incr_version
blob: c2ded2cdd9f81ffef5f57c6b9dd583433a23dbef (plain) (blame)
1
2
3
4
5
6
7
8
#!/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"