1 2 3 4 5 6 7
#!/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