mirror of
https://github.com/casey/just.git
synced 2024-11-23 02:44:56 +03:00
Make sure version in app.rs and Cargo.toml match before publishing
This commit is contained in:
parent
acc97a4eba
commit
90078b5956
5
justfile
5
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user