mirror of
https://github.com/casey/just.git
synced 2024-11-22 18:34:06 +03:00
Push code before publishing
This commit is contained in:
parent
f9abb72887
commit
ac996f8940
4
justfile
4
justfile
@ -19,12 +19,12 @@ 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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user