Skip to content

generate changelog from git tags and commits for github

Notifications You must be signed in to change notification settings

soybeanjs/changelog

Repository files navigation

@soybeanjs/changelog

generate changelog by git tags and commits

Install

pnpm i -D @soybeanjs/changelog

Usage

import {
  getChangelogMarkdown,
  getTotalChangelogMarkdown,
  generateChangelog,
  generateTotalChangelog,
} from "@soybeanjs/changelog";

// get the changelog markdown by two git tags
getChangelogMarkdown();

// get the changelog markdown by the total git tags
getTotalChangelogMarkdown();

// generate the changelog markdown by two git tags
generateChangelog();

// generate the changelog markdown by the total git tags
generateTotalChangelog();