From 90078b59564a01d38ccbf10a7be7936e625408e2 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sun, 23 Oct 2016 16:45:46 -0700 Subject: [PATCH] Make sure version in app.rs and Cargo.toml match before publishing --- justfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index d2ff8e6..67dd6e1 100644 --- a/justfile +++ b/justfile @@ -1,12 +1,15 @@ test: cargo test --lib -# cargo run -- quine clean > /dev/null 2> /dev/null +test-quine: + cargo run -- quine clean backtrace: RUST_BACKTRACE=1 cargo test --lib publish: + # make sure version is up to date + grep 'version("'`sed -En 's/version = "([^"]+)"/\1/p' Cargo.toml`'")' src/app.rs git push github master cargo publish