1
1
mirror of https://github.com/casey/just.git synced 2024-11-22 18:34:06 +03:00

Make sure version in app.rs and Cargo.toml match before publishing

This commit is contained in:
Casey Rodarmor 2016-10-23 16:45:46 -07:00
parent acc97a4eba
commit 90078b5956

View File

@ -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