From 6861a346c38bfe42241634304025e29e1c65d3ed Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sat, 5 Nov 2016 01:51:56 -0700 Subject: [PATCH] Create a unique branch when bumping version (#20) --- justfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index c9288a7..a46872d 100644 --- a/justfile +++ b/justfile @@ -22,12 +22,13 @@ publish: clippy build git branch | grep '* master' git diff --no-ext-diff --quiet --exit-code grep 'version("{{version}}")' src/app.rs - git push github master:master - git push origin master:master + git co -b v{{version}} + git push github cargo publish git tag -a "v{{version}}" -m "v{{version}}" git push github --tags git push origin --tags + @echo 'Remember to merge v{{version}} branch on GitHub!' clippy: rustup run nightly cargo clippy