UNPKG

420 BPlain TextView Raw
1#!/bin/sh
2# Usage: gen-changelog [comittish]
3# Reads all the commits since comittish and produces changelog entries in
4# our style as best as it can, appendning them to CHANGELOG.md. If it
5# encounters a git error it won't modify CHANGELOG.md
6# @iarna uses this as the first step in producing changelogs for a release.
7(node $(npm prefix)/scripts/changelog.js "$@"; cat CHANGELOG.md) > new.md && mv new.md CHANGELOG.md