diff --git a/hostsModules/laptop/scripts/autoUpdate.nix b/hostsModules/laptop/scripts/autoUpdate.nix index 8479c87..887f5e1 100644 --- a/hostsModules/laptop/scripts/autoUpdate.nix +++ b/hostsModules/laptop/scripts/autoUpdate.nix @@ -55,6 +55,8 @@ pkgs.writeShellApplication { git -C "$FLAKE_DIR" reset --hard "pre-autoupdate-$TIME" fi + git -C "$FLAKE_DIR" tag -d "pre-autoupdate-$TIME" # removes the tag + rm -f "$ERROR_FILE" ''; }