UNPKG

@techmely/utils

Version:

Collection of helpful JavaScript / TypeScript utils

12 lines (9 loc) 324 B
import { execCommand } from './chunk-TRN6YLKQ.mjs'; import './chunk-UFOKMNUE.mjs'; import './chunk-NYLAFCGV.mjs'; // src/getGitLastCommitHash.ts async function getLastGitCommitHash() { const commitHash = await execCommand("git", ["rev-parse", "--short", "HEAD"]); return commitHash; } export { getLastGitCommitHash };