nodejs/changelog-maker

Name: changelog-maker

Owner: Node.js Foundation

Description: A git log to CHANGELOG.md tool

Created: 2015-02-18 07:21:53.0

Updated: 2017-12-26 23:57:23.0

Pushed: 2017-08-09 21:52:58.0

Homepage: null

Size: 78

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

changelog-maker

A git log to CHANGELOG.md tool

npm npm

Eh?

changelog-maker is a formalisation of the Node.js CHANGELOG.md entry process but flexible enough to be used on other repositories.

changelog-maker will look at the git log of the current directory, pulling entries since the last tag. Commits with just a version number in the summary are removed, as are commits prior to, and including summaries that say working on <version> (this is an io.js / Node ism).

After collecting the list of commits, any that have PR-URL: <url> in them are looked up on GitHub and the labels of the pull request are collected, specifically looking for labels that start with semver (the assumption is that semver-minor, semver-major labels are used to indicate non-patch version bumps).

Finally, the list is formatted as Markdown and printed to stdout.

Each commit will come out something like this (on one line):

`20f8e7f17a`](https://github.com/nodejs/io.js/commit/20f8e7f17a)] -
test**: remove flaky test functionality (Rod Vagg)
812](https://github.com/nodejs/io.js/pull/812)

Note:

When printing to a console some special behaviours are invoked:

Install
m i changelog-maker -g
Usage

changelog-maker [--simple] [--group] [--start-ref=<ref>] [--end-ref=<ref>] [github-user[, github-project]]

github-user and github-project should point to the GitHub repository that can be used to find the PR-URL data if just an issue number is provided and will also impact how the PR-URL issue numbers are displayed

License

changelog-maker is Copyright (c) 2015 Rod Vagg @rvagg and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.