1
0

pkgs/clerie-update-nixfiles: switch branch before removing itself

This commit is contained in:
clerie 2024-03-17 17:02:32 +01:00
parent af7bc3dc02
commit 79d9bffba1

View File

@ -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