Skip to content

Instantly share code, notes, and snippets.

@electrum
Created February 13, 2019 05:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save electrum/75490892f5e51dbb6f61413bbed37ec3 to your computer and use it in GitHub Desktop.
Save electrum/75490892f5e51dbb6f61413bbed37ec3 to your computer and use it in GitHub Desktop.
#!/bin/sh
set -eu
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