Justfile: leave failed update versions in place
This commit is contained in:
parent
f3f8217ed8
commit
0913cdc4d5
1 changed files with 0 additions and 2 deletions
2
Justfile
2
Justfile
|
@ -87,13 +87,11 @@ update-this-device rebuild-mode='switch':
|
|||
export SYSREBUILD_LOG=.$(hostname -s)_sysrebuild.log
|
||||
just -v rebuild-this-device dry-activate || {
|
||||
echo ERROR: Update failed, reverting ${outfile}...
|
||||
git checkout ${outfile}
|
||||
exit 1
|
||||
}
|
||||
|
||||
just -v rebuild-this-device {{rebuild-mode}} || {
|
||||
echo ERROR: Rebuilding in {{rebuild-mode}}-mode failed
|
||||
git checkout ${outfile}
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue