From acaf5d41028e3b83cfb571c7c8834cb4f1f0069d Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 25 Jan 2026 13:01:47 +0800 Subject: [PATCH] commit.ts --- single-scripts/commit.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/single-scripts/commit.ts b/single-scripts/commit.ts index c9adec4..2b43ea5 100755 --- a/single-scripts/commit.ts +++ b/single-scripts/commit.ts @@ -1,9 +1,9 @@ #!/usr/bin/env runts -- --runtime-bun -import { spawn } from "node:child_process"; -import { existsSync } from "node:fs"; -import { createInterface } from "node:readline/promises"; -import { stdin, stdout } from "node:process"; +import {spawn} from "node:child_process"; +import {existsSync} from "node:fs"; +import {createInterface} from "node:readline/promises"; +import {stdin, stdout} from "node:process"; class ProcessOutput { code: number; @@ -305,6 +305,8 @@ async function main() { console.log("Git command: ", "git", gitCommitArgs); await execCommandShell("git", gitCommitArgs); + console.log("Git push"); + await execCommandShell("git", ["push"]); } main().catch((err) => {