I tried git-log to generate a CHANGELOG but it does not give me a mapping to tags. So, here's a bash script that does that.
# Generate a nice changelog from git
PREV=
for I in `git tag`; do
echo " ";
git log --pretty=format:" %s" $PREV..$I;
echo " ";
echo $I;
PREV=$I;
done | tac > CHANGELOG
Works like a charm!
No comments:
Post a Comment