This repository has been archived by the owner on Feb 21, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc/generate-changelog: add deis' changelog generation script
This file is under the Apache license
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\/" |