"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/which/changelog.sh" (8 Mar 2017, 238 Bytes) of archive /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/bash
    2 (
    3   echo '# Changes'
    4   echo ''
    5   git log --first-parent --pretty=format:'%s' \
    6     | grep -v '^update changelog' \
    7     | perl -p -e 's/^((v?[0-9]+\.?)+)$/\n## \1\n/g' \
    8     | perl -p -e 's/^([^#\s].*)$/* \1/g'
    9 )> CHANGELOG.md