Your IP : 3.147.103.33


Current Path : /opt/alt/alt-nodejs6/root/lib/node_modules/npm/node_modules.bundled/lockfile/
Upload File :
Current File : //opt/alt/alt-nodejs6/root/lib/node_modules/npm/node_modules.bundled/lockfile/gen-changelog.sh

#!/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

?>