pkgs/clerie-update-nixfiles: switch branch before removing itself
This commit is contained in:
parent
af7bc3dc02
commit
79d9bffba1
@ -69,6 +69,7 @@ echo "[!] biep"
|
||||
if xgit diff --quiet origin/updated-inputs "${UPDATE_BRANCH}"
|
||||
then
|
||||
echo "[!] Nothing changed, removing branch"
|
||||
xgit checkout updated-inputs
|
||||
xgit branch -D "${UPDATE_BRANCH}"
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user