Skip to content
const.ts 227 B
Newer Older
Grant's avatar
Grant committed
import * as child from "node:child_process";

export const SHORT_HASH = child
  .execSync("git rev-parse --short HEAD")
  .toString()
  .trim();

export const LONG_HASH = child.execSync("git rev-parse HEAD").toString().trim();