azu / monorepo-utils

A collection of utilities for monorepo/lerna. Tools for TypeScript project references etc..
164 stars 10 forks source link

feat(collect-changelog): support --changelog option for fixed mode #19

Closed azu closed 5 years ago

azu commented 5 years ago

It help to get CHANGELOG for fixed mode user

Usage
  $ collect-changelog-from-tag [option] "tag@version"

Options
  --changelog the file path of CHANGELOG.md
  --directory the root directory of monorepo
  --template  handlebars template path

Examples
  $ collect-changelog-from-tag --directory /path/to/monorepo-project/ "tag@version"
  # current directory is project root for independent mode
  $ collect-changelog-from-tag "tag@version"
  # get changelog content from specific CHANGELOG.md for fixed mode
  $ collect-changelog-from-tag --changelog ./CHANGELOG.md "tag@version"