Added changelog generator
This commit is contained in:
parent
65f3b30c51
commit
3d25263ba3
2 changed files with 17 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -10,4 +10,5 @@
|
||||||
|
|
||||||
TechReborn.iws
|
TechReborn.iws
|
||||||
TechReborn.ipr
|
TechReborn.ipr
|
||||||
Thumbs.db
|
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