diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-09-26 14:26:29 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-09-26 14:26:29 +0200 |
commit | b60398963a2072115675f732e7d38d99205e8c9a (patch) | |
tree | 217b3fa29cb3dc6a2635c26c7d593ff9c92042b5 /docs/update-changelog | |
parent | bedab86a4a47e99d410be4870c8b08fa6330eb02 (diff) | |
download | uca-b60398963a2072115675f732e7d38d99205e8c9a.tar.gz uca-b60398963a2072115675f732e7d38d99205e8c9a.tar.bz2 uca-b60398963a2072115675f732e7d38d99205e8c9a.tar.xz uca-b60398963a2072115675f732e7d38d99205e8c9a.zip |
Add change log to manual
Diffstat (limited to 'docs/update-changelog')
-rwxr-xr-x | docs/update-changelog | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/update-changelog b/docs/update-changelog new file mode 100755 index 0000000..57fe7a6 --- /dev/null +++ b/docs/update-changelog @@ -0,0 +1,22 @@ +#!/bin/bash + +FROM=$1 +TO=$2 +OUTPUT=$3 + +echo "## Changes from $FROM to $TO +" >> tmp +git log --pretty=format:'* [%h](http://ufo.kit.edu/repos/libuca.git/commit/?id=%h): %s' $FROM..$TO >> tmp + +echo " +" >> tmp + +if [ -f "$OUTPUT" ] +then + cat tmp $OUTPUT > tmp_md + rm $OUTPUT + mv tmp_md $OUTPUT + rm tmp +else + mv tmp $OUTPUT +fi |