"Fossies" - the Fresh Open Source Software Archive

Member "node-v12.18.4-win-x86/node_modules/npm/scripts/gen-changelog" (14 Feb 2020, 427 Bytes) of package /windows/www/node-v12.18.4-win-x86.zip:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    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