UNPKG

lerna

Version:

Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository

17 lines (14 loc) 350 B
import { execSync, npmlog_default } from "./chunk-WC2B4V4E.js"; // libs/commands/publish/src/lib/get-current-sha.ts function getCurrentSHA(opts) { npmlog_default.silly("getCurrentSHA", ""); const sha = execSync("git", ["rev-parse", "HEAD"], opts); npmlog_default.verbose("getCurrentSHA", sha); return sha; } export { getCurrentSHA };