New publish recipe, bump version to 0.2.14 to test.
This commit is contained in:
parent
3b312e2728
commit
f9abb72887
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -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)",
|
||||||
|
@ -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"
|
||||||
|
12
justfile
12
justfile
@ -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
|
||||||
|
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user