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:
|
test:
|
||||||
cargo test --lib
|
cargo test --lib
|
||||||
|
|
||||||
# cargo run -- quine clean > /dev/null 2> /dev/null
|
test-quine:
|
||||||
|
cargo run -- quine clean
|
||||||
|
|
||||||
backtrace:
|
backtrace:
|
||||||
RUST_BACKTRACE=1 cargo test --lib
|
RUST_BACKTRACE=1 cargo test --lib
|
||||||
|
|
||||||
publish:
|
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
|
git push github master
|
||||||
cargo publish
|
cargo publish
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user