1
1
mirror of https://github.com/casey/just.git synced 2024-11-23 02:44:56 +03:00

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]
name = "just"
version = "0.2.13"
version = "0.2.14"
dependencies = [
"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)",

View File

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

View File

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

View File

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