#!/bin/bash -e

vi Cargo.toml
cargo generate-lockfile
git commit -v Cargo.toml Cargo.lock VERSION
git tag v${version}
git push --tags && git push
