diff options
Diffstat (limited to 'deps/npm/node_modules/which/changelog.sh')
-rw-r--r-- | deps/npm/node_modules/which/changelog.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/deps/npm/node_modules/which/changelog.sh b/deps/npm/node_modules/which/changelog.sh new file mode 100644 index 00000000000..360e54af40f --- /dev/null +++ b/deps/npm/node_modules/which/changelog.sh @@ -0,0 +1,9 @@ +#!/bin/bash +( + echo '# Changes' + echo '' + git log --first-parent --pretty=format:'%s' \ + | grep -v '^update changelog' \ + | perl -p -e 's/^((v?[0-9]+\.?)+)$/\n## \1\n/g' \ + | perl -p -e 's/^([^#\s].*)$/* \1/g' +)> CHANGELOG.md |