diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-03-04 09:28:56 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-03-04 09:28:56 +0100 |
commit | 0744e7428fdcd4aae6d9db32522d4d449e815ee5 (patch) | |
tree | 11da5d91d70cda31ff7c39b32e385808f062a349 | |
parent | 441941596a586f8c31f1b1893bce50477f916e3c (diff) | |
download | buildscripts-0744e7428fdcd4aae6d9db32522d4d449e815ee5.tar.gz buildscripts-0744e7428fdcd4aae6d9db32522d4d449e815ee5.tar.bz2 buildscripts-0744e7428fdcd4aae6d9db32522d4d449e815ee5.zip |
before build: create ChangeLog.gitlog files
-rwxr-xr-x | bin/build-deb-package | 1 | ||||
-rwxr-xr-x | bin/build-rpm-package | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/bin/build-deb-package b/bin/build-deb-package index 5370475..bc4482d 100755 --- a/bin/build-deb-package +++ b/bin/build-deb-package @@ -121,6 +121,7 @@ prepare_workspace() { GIT_OBJECT_ID=`git show-ref -s heads/master` cd "$PROJECT_DIR" + git --no-pager log --since "2 years ago" --format="%ai %aN (%h) %n%n%x09*%w(68,0,10) %s%d%n" > ChangeLog.gitlog # by default we build for all current debian versions if [ "x$ARGV2_CODENAME" != "x" ]; then diff --git a/bin/build-rpm-package b/bin/build-rpm-package index cf79ebb..d22c517 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -115,6 +115,7 @@ prepare_workspace() { GIT_OBJECT_ID=`git show-ref -s heads/master` cd "$PROJECT_DIR" + git --no-pager log --since "2 years ago" --format="%ai %aN (%h) %n%n%x09*%w(68,0,10) %s%d%n" > ChangeLog.gitlog if [ "x$ARGV2_CODENAME" != "x" ]; then if echo "$FEDORA_DISTROS" | grep $ARGV2_CODENAME >/dev/null; then |