UNPKG

git-release-manager

Version:

A tool to generate release notes from git commit history

18 lines 640 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.getLog = getLog; const simple_git_1 = __importDefault(require("simple-git")); const git = (0, simple_git_1.default)(); /** * Retrieves the git log for the specified range. * * @param range - The range of commits to include in the log. * @returns A promise that resolves to the git log for the specified range. */ async function getLog(range) { return git.log([range]); } //# sourceMappingURL=logUtils.js.map