Permalink
Browse files

Merge branch 'release/0.1.2'

  • Loading branch information...
2 parents 964b854 + d52dd10 commit 78b03e21d5f4919d0808d82d7195937b19d70f12 @TheHippo committed Nov 26, 2012
Showing with 23 additions and 2 deletions.
  1. +19 −0 LICENSE
  2. +4 −2 git-create-changelog.sh
View
19 LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2012 Philipp Klose
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished
+to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
@@ -8,7 +8,8 @@ if test -d ".git"; then
# yes we are in a git repository
# clear old changelog
- echo "# Changelog" > Changelog
+ echo "Changelog" > Changelog
+ echo "=========" >> Changelog
echo "" >> Changelog
#find first commit
@@ -22,7 +23,8 @@ if test -d ".git"; then
for i in "${TAGS[@]}"; do
# for each commit
echo "" >> Changelog
- echo "## $i" >> Changelog
+ echo "$i" >> Changelog
+ echo "--------" >> Changelog
echo "" >> Changelog
git log $LAST...$i --pretty=format:' - %h %s (%an <%ae>)' --reverse | grep -v 'Merge branch' >> Changelog
LAST=$i

0 comments on commit 78b03e2

Please sign in to comment.