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}"
|
if xgit diff --quiet origin/updated-inputs "${UPDATE_BRANCH}"
|
||||||
then
|
then
|
||||||
echo "[!] Nothing changed, removing branch"
|
echo "[!] Nothing changed, removing branch"
|
||||||
|
xgit checkout updated-inputs
|
||||||
xgit branch -D "${UPDATE_BRANCH}"
|
xgit branch -D "${UPDATE_BRANCH}"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user