Think i got the gitChangeLog.bat working

Unsure as i need to do more testing.
This commit is contained in:
DarkGuardsman 2013-09-16 13:35:19 -04:00
parent f36b6487b8
commit 1cae57399d
2 changed files with 6 additions and 2 deletions

View file

@ -1,2 +1,6 @@
cd ..
git log --pretty="%s" >> changeLog.txt
IF EXIST LastBuildData.txt (
git log --pretty="%s" --since={LastBuildData.txt} >> changeLog.txt
)
echo %date:~10,4%-%date:~4,2%-%date:~7,2% > LastBuildData.txt
PAUSE

View file

@ -5,4 +5,4 @@ cat LastBuildData.txt
read line
git log --pretty="%s" --Since={$line} >> changeLog.txt
fi
date +"%Y-%m-%d" >> LastBuildData.txt
date +"%Y-%m-%d" >> LastBuildData.txt