[X2Go-Commits] [buildscripts] 01/01: before build: create ChangeLog.gitlog files

git-admin at x2go.org git-admin at x2go.org
Tue Mar 4 09:34:29 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit 0744e7428fdcd4aae6d9db32522d4d449e815ee5
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Mar 4 09:28:56 2014 +0100

    before build: create ChangeLog.gitlog files
---
 bin/build-deb-package |    1 +
 bin/build-rpm-package |    1 +
 2 files changed, 2 insertions(+)

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

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git



More information about the x2go-commits mailing list