diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-03-09 12:23:14 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-03-09 12:23:14 +0100 |
commit | dc78ce89feb345a19da17b3d17ed7ea45330fd1e (patch) | |
tree | a1f2548b38d8800af1f543fc6a3431f534b6ede0 /bin | |
parent | 1191f525ff54ac3827ce16d7b7e098c23036b343 (diff) | |
download | buildscripts-dc78ce89feb345a19da17b3d17ed7ea45330fd1e.tar.gz buildscripts-dc78ce89feb345a19da17b3d17ed7ea45330fd1e.tar.bz2 buildscripts-dc78ce89feb345a19da17b3d17ed7ea45330fd1e.zip |
build-nsis-script: provide a much better git changelog
Diffstat (limited to 'bin')
-rw-r--r-- | bin/build-nsis-package.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/build-nsis-package.sh b/bin/build-nsis-package.sh index 89484ae..40186b5 100644 --- a/bin/build-nsis-package.sh +++ b/bin/build-nsis-package.sh @@ -204,11 +204,11 @@ build_packages() { cd $PROJECT_DIR cp -a debian/changelog txt/ - echo "GIT info:" > txt/git-info - git branch >> txt/git-info - echo "=================================" >> txt/git-info - echo "GIT history:" >> txt/git-info - git log -n 10 >> txt/git-info + + # create git changelog immediately prior to building the SRPM package + git --no-pager log --since "2 years ago" --format="%ai %aN (%h) %n%n%x09*%w(68,0,10) %s%d%n" > ChangeLog.gitlog + cp ChangeLog.gitlog txt/git-info + cd /cygdrive/d/Build/scripts/ nice /cygdrive/d/Build/scripts/nsis-builder.bat --buildresult "D:\\Build\\Scripts\\test\\$l_DIST\\$l_CODENAME\\i386" |