summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-03-30 12:03:05 +0100
committerDaniel Borkmann <dborkman@redhat.com>2013-03-30 12:03:05 +0100
commit5f80b0418afb1717281ddb069f1f7bbc57dd15e1 (patch)
tree5ab0da3065517455ee421702a74b26b3a77ea8a8 /Makefile
parent3107cf8c5c9604844827831b28d585c558504166 (diff)
make: also credit involved people in mail message
Still untested, since we did not yet tag a release, but for now, also credit all involved people in a particular release. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d414ba9..ab74a32 100644
--- a/Makefile
+++ b/Makefile
@@ -130,6 +130,8 @@ GIT_ARCHIVE = git archive --prefix=netsniff-ng-$(VERSION_STRING)/ $(VERSION_STRI
GIT_TAG = git tag -a $(VERSION_STRING) -s -m "tools: $(VERSION_STRING) release"
GIT_LOG = git shortlog -n --not $(shell git describe --abbrev=0 --tags)
GIT_REM = git ls-files -o | xargs rm -rf
+GIT_PEOPLE = git log --no-merges $(VERSION_STRING)..HEAD | grep Author: | cut -d: -f2 | \
+ cut -d\< -f1 | sort | uniq -c | sort -nr
export VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION
export CROSS_COMPILE
@@ -278,6 +280,8 @@ announcement:
$(Q)echo -e " git tag -v $(VERSION_STRING)\n" >> .MAIL_MSG
$(Q)echo -e "Major high-level changes since the last release are:\n" >> .MAIL_MSG
$(Q)echo -e " *** BLURB HERE ***\n" >> .MAIL_MSG
+ $(Q)echo -e "Contributors since last release:\n" >> .MAIL_MSG
+ $(GIT_PEOPLE) >> .MAIL_MSG
$(Q)echo -e "Git changelog since the last release:\n" >> .MAIL_MSG
$(GIT_LOG) >> .MAIL_MSG