Skip to content
This repository has been archived by the owner on Feb 21, 2018. It is now read-only.

Commit

Permalink
doc/generate-changelog: add deis' changelog generation script
Browse files Browse the repository at this point in the history
This file is under the Apache license
  • Loading branch information
Xe committed Jun 28, 2014
1 parent 4311885 commit 01f35a2
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions doc/generate-changelog.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/sh

usage() {
echo "Usage: $0 <from> [to]"
}

retrieve() {
git --no-pager log --oneline --pretty=format:" - %h %s" --no-merges --grep="$1" $FROM..$TO
}

subheading() {
echo "#### $1\n"
retrieve "$2"
echo
echo
}

FROM=$1
TO=${2:-"HEAD"}

if [ -z $1 ];
then
usage
exit 1
fi

echo "### $FROM -> $TO\n"

subheading "Protocol Adjustments" "protocol\/"
subheading "Other Files" "etc\/"
subheading "Documentation" "doc\/"
subheading "Bot Commands" "bot\/"
subheading "Core Improvements" "src\/"
subheading "Core Modules" "core\/"
subheading "Scrapers" "scrapers\/"
subheading "Announcers" "announcer\/"
subheading "Services" "services\/"
2 changes: 1 addition & 1 deletion modules/contrib
Submodule contrib updated 3 files
+0 −103 bf.py
+0 −124 immature.py
+0 −134 mpdclient.py

0 comments on commit 01f35a2

Please sign in to comment.