Added changelog generator
This commit is contained in:
parent
65f3b30c51
commit
3d25263ba3
2 changed files with 17 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -11,3 +11,4 @@
|
|||
TechReborn.iws
|
||||
TechReborn.ipr
|
||||
Thumbs.db
|
||||
changelog.txt
|
||||
|
|
15
genChangelog.sh
Executable file
15
genChangelog.sh
Executable 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!"
|
Loading…
Reference in a new issue