Add a helper script for doing releases

html_output
Wilfred Hughes 2022-01-30 18:04:03 +07:00
parent 409f7aae75
commit 3c05d979ba
1 changed files with 8 additions and 0 deletions

@ -0,0 +1,8 @@
#!/bin/bash
set -ex
cargo publish
VERSION=$(cargo metadata | jq -r '.packages | .[] | select(.name == "difftastic") | .version')
git tag $VERSION
git push --tags