Created
May 3, 2017 00:55
-
-
Save electrum/c91d060260312a0e7969bfdeba4f727f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -eu | |
CURRENT=$1 | |
git log --format='%<|(21)%cn %<|(34)%ct %<|(48)%h %s' $CURRENT.. | | |
grep -vF '[maven-release-plugin]' | sort | cut -c1-21,34- | | |
awk ' | |
{ | |
if (NR > 1) { | |
name = substr($0, 1, 21) | |
if (name != current) { | |
print "## " name | |
} | |
{ | |
current = name | |
print "- [ ] " substr($0, 22) | |
} | |
} | |
} | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment