Create a unique branch when bumping version (#20)
This commit is contained in:
parent
9a742e6336
commit
6861a346c3
5
justfile
5
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
|
||||
|
Loading…
Reference in New Issue
Block a user