diff --git a/app/panel/sparkle/page.tsx b/app/panel/sparkle/page.tsx index 4500dc3..c40d040 100644 --- a/app/panel/sparkle/page.tsx +++ b/app/panel/sparkle/page.tsx @@ -1,7 +1,25 @@ +import { execSync } from "child_process"; + export default function Sparkle() { + const hash = execSync("git rev-parse HEAD", { cwd: process.cwd() }).toString().trim(); + const branch = execSync("git rev-parse --abbrev-ref HEAD", { cwd: process.cwd() }).toString().trim(); + return (
-

Running version v0.0.1

+

+ Running version + + + {hash.substring(0, 10)} + + + on branch + + + {branch} + + +