Added changelog generator

This commit is contained in:
modmuss50 2015-09-08 19:43:53 +01:00
parent 65f3b30c51
commit 3d25263ba3
2 changed files with 17 additions and 1 deletions

3
.gitignore vendored
View file

@ -10,4 +10,5 @@
TechReborn.iws
TechReborn.ipr
Thumbs.db
Thumbs.db
changelog.txt

15
genChangelog.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
#This makes a change log between two git commits.
#Run like ./genChangelog.sh 65f3b30 8aafd11
if [ "$#" -ne 2 ]; then
echo "Usage: $1 COMMIT1 $2 COMMIT2" >&2
exit 1
fi
git shortlog $1...$2 > changelog.txt
echo "The changelog has been saved into chnagelog.txt!"