0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/deps/npm/scripts/gen-changelog
Rebecca Turner 76cb81b354 deps: upgrade npm to 3.6.0
PR-URL: https://github.com/nodejs/node/pull/4958
Reviewed-By: Myles Borins <mborins@us.ibm.com>
Reviewed-By: Kat Marchán <kzm@sykosomatic.org>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2016-02-01 10:43:34 -05:00

8 lines
420 B
Bash
Executable File

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