@techmely/utils
Version:
Collection of helpful JavaScript / TypeScript utils
22 lines (18 loc) • 437 B
JavaScript
/*!
* @techmely/utils
* Copyright(c) 2021-2024 Techmely <techmely.creation@gmail.com>
* MIT Licensed
*/
import {
execCommand
} from "./chunk-OEREUEGT.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
};