From 535b2783e66efc2d4cd2f8ac62bc743d7287c303 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 24 Dec 2015 15:31:21 -0800 Subject: [PATCH] website: add log.sh tool --- website/content/docs/release/log.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 website/content/docs/release/log.sh diff --git a/website/content/docs/release/log.sh b/website/content/docs/release/log.sh new file mode 100755 index 000000000..c2869dd78 --- /dev/null +++ b/website/content/docs/release/log.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +PREV=0.8 +echo "$(git shortlog -e -s $PREV..HEAD | sed -e 's/^.*.*$//' | uniq | wc -l) total commiters over $(git log --format=oneline $PREV..HEAD | wc -l) commits since $PREV (), including $(i=0; git shortlog -s $PREV..HEAD | cut -c8- | fgrep ' ' | while read nm; do i=$(($i + 1)); if [ $i -ge 2 ]; then echo -n ', '; fi; echo -n "$nm"; done)."