Bump version in lock file. Make sure repo is clean before publishing

This commit is contained in:
Casey Rodarmor 2016-10-28 20:48:53 -07:00
parent 011876baff
commit b956ce2397
2 changed files with 2 additions and 1 deletions

2
Cargo.lock generated
View File

@ -1,6 +1,6 @@
[root] [root]
name = "j" name = "j"
version = "0.2.5" version = "0.2.6"
dependencies = [ dependencies = [
"brev 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "brev 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.16.2 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.16.2 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -15,6 +15,7 @@ build:
publish: clippy build publish: clippy build
# make sure version is up to date # make sure version is up to date
git diff --no-ext-diff --quiet --exit-code
grep 'version("'`sed -En 's/version = "([^"]+)"/\1/p' Cargo.toml`'")' src/app.rs grep 'version("'`sed -En 's/version = "([^"]+)"/\1/p' Cargo.toml`'")' src/app.rs
git push github master:master git push github master:master
cargo publish cargo publish