bb0419e78adbdbe1d129913c3b59101cd30603e6.svn-base 262 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 #!/bin/bash ( echo '# Changes' echo '' git log --first-parent --pretty=format:'%s' \ | grep -v '^update changelog' \ | grep -v 'beta' \ | perl -p -e 's/^((v?[0-9]+\.?)+)?$/\n## \1\n/g' \ | perl -p -e 's/^([^#\s].*)$/* \1/g' )> CHANGELOG.md