New publish recipe, bump version to 0.2.14 to test.

This commit is contained in:
Casey Rodarmor 2016-11-02 00:18:09 -07:00
parent 3b312e2728
commit f9abb72887
4 changed files with 12 additions and 6 deletions

2
Cargo.lock generated
View File

@ -1,6 +1,6 @@
[root] [root]
name = "just" name = "just"
version = "0.2.13" version = "0.2.14"
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.4 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.16.4 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "just" name = "just"
version = "0.2.13" version = "0.2.14"
authors = ["Casey Rodarmor <casey@rodarmor.com>"] authors = ["Casey Rodarmor <casey@rodarmor.com>"]
license = "WTFPL/MIT/Apache-2.0" license = "WTFPL/MIT/Apache-2.0"
description = "🤖 Just a command runner" description = "🤖 Just a command runner"

View File

@ -13,12 +13,18 @@ build:
check: check:
cargo check cargo check
version = `sed -En 's/version = "([^"]+)"/\1/p' Cargo.toml`
publish: clippy build publish: clippy build
# make sure version is up to date git branch | grep '* master'
git diff --no-ext-diff --quiet --exit-code git diff --no-ext-diff --quiet --exit-code
grep 'version("'`sed -En 's/version = "([^"]+)"/\1/p' Cargo.toml`'")' src/app.rs grep 'version("{{version}}")' src/app.rs
git push github master:master
cargo publish cargo publish
git tag -a "v{{version}}" -m "v{{version}}"
git push github --tags
git push github master:master
git push origin --tags
git push origin master:master
clippy: clippy:
rustup run nightly cargo clippy rustup run nightly cargo clippy

View File

@ -23,7 +23,7 @@ macro_rules! die {
pub fn app() { pub fn app() {
let matches = App::new("just") let matches = App::new("just")
.version("0.2.13") .version("0.2.14")
.author("Casey Rodarmor <casey@rodarmor.com>") .author("Casey Rodarmor <casey@rodarmor.com>")
.about("Just a command runner - https://github.com/casey/just") .about("Just a command runner - https://github.com/casey/just")
.arg(Arg::with_name("list") .arg(Arg::with_name("list")