summaryrefslogtreecommitdiff
path: root/bin/build-deb-package
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-deb-package')
-rwxr-xr-xbin/build-deb-package4
1 files changed, 3 insertions, 1 deletions
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 && {