mirror of https://github.com/Wilfred/difftastic/
Add a helper script for doing releases
parent
409f7aae75
commit
3c05d979ba
@ -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
|
||||
Loading…
Reference in New Issue