This commit is contained in:
Peritia 2025-08-07 13:15:12 +02:00
parent 931f85ffbf
commit 0069bb213e

View file

@ -270,11 +270,11 @@ $git_bin commit -m "Rebuild: $gen" || true
cd "$log_dir"
final_log="$log_dir/nixos-gen_''${stats_gen}-switch-''${timestamp}.log"
mv "$build_log" "$final_log"
$git_bin add "$final_log"
$git_bin add "$log_dir"
$git_bin commit -m "log for $gen" || true
# === FINAL PUSH LOGS ===
$git_bin add "$final_log"
$git_bin add "$log_dir"
$git_bin commit -m "chore(rebuild): successful rebuild on $(date)" || true
if [[ "$auto_push_log" == "true" ]]; then