Skip to content

Instantly share code, notes, and snippets.

@martint
Created September 5, 2018 17:19
Show Gist options
  • Save martint/35626c1f4630b9206c7339022ae982bc to your computer and use it in GitHub Desktop.
Save martint/35626c1f4630b9206c7339022ae982bc to your computer and use it in GitHub Desktop.
#!/bin/sh
CURRENT=$1
git log --format='%<|(21)%cn %<|(39)%cd %<|(50)%h %s' --date=format-local:'%m-%d %H:%M:%S' $CURRENT.. | \
grep -vF '[maven-release-plugin]' | sort | \
awk '
{
name = substr($0, 1, 21)
if (name != current) {
print "## " name
print "- [ ] all checked"
}
{
current = name
print "- " substr($0, 22)
}
}
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment