mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
238 B
10 lines
238 B
8 years ago
|
#!/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
|