"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/npm/scripts/gen-changelog" (11 Apr 2017, 420 Bytes) of package /windows/misc/atom-windows.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