From 34253327553afc71710e49e46c086f67319840c8 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 4 Mar 2014 12:19:34 +0100 Subject: build scripts: fix creation of git changelog --- bin/build-deb-package | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/build-deb-package') diff --git a/bin/build-deb-package b/bin/build-deb-package index bc4482d..5dd121d 100755 --- a/bin/build-deb-package +++ b/bin/build-deb-package @@ -121,7 +121,6 @@ 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 @@ -245,6 +244,9 @@ build_packages() { OTHERMIRROR="deb http://packages.mate-desktop.org/repo/debian $l_CODENAME main" fi + # create git changelog immediately prior to building the 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 + [ "x$USE_SUDO" != "xyes" ] && { [ "x$EXTRA_ARCHS_ONLY" = "x" ] && { [ "x$SKIP_ARCH" != "xamd64" ] && cat debian/control | egrep 'Architecture.*(all|any|amd64)' >/dev/null && { -- cgit v1.2.3