mirror of
https://github.com/casey/just.git
synced 2024-11-23 11:04:09 +03:00
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 branch | grep '* master'
|
||||||
git diff --no-ext-diff --quiet --exit-code
|
git diff --no-ext-diff --quiet --exit-code
|
||||||
grep 'version("{{version}}")' src/app.rs
|
grep 'version("{{version}}")' src/app.rs
|
||||||
git push github master:master
|
git co -b v{{version}}
|
||||||
git push origin master:master
|
git push github
|
||||||
cargo publish
|
cargo publish
|
||||||
git tag -a "v{{version}}" -m "v{{version}}"
|
git tag -a "v{{version}}" -m "v{{version}}"
|
||||||
git push github --tags
|
git push github --tags
|
||||||
git push origin --tags
|
git push origin --tags
|
||||||
|
@echo 'Remember to merge v{{version}} branch on GitHub!'
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
rustup run nightly cargo clippy
|
rustup run nightly cargo clippy
|
||||||
|
Loading…
Reference in New Issue
Block a user