fix (pending test) bump func
This commit is contained in:
parent
60b9d34c11
commit
ef48a3ac20
1 changed files with 1 additions and 3 deletions
|
|
@ -68,10 +68,8 @@ export def bump [...rest] {
|
|||
}
|
||||
let r = jj log -r @ --no-pager --no-graph --template 'change_id'
|
||||
sudo nix flake update
|
||||
let curr_gen = get_gen
|
||||
let build_status = rebuild boot
|
||||
let new_gen = get_gen
|
||||
if ($build_status and ($curr_gen == $new_gen)) {
|
||||
if $build_status {
|
||||
jj desc -r $r -m $"bump (date now | format date "%Y-%m-%d")"
|
||||
jj bookmark set main -r $r
|
||||
jj git push --allow-empty-description
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue