From 1971ff68e800eaf41cf7df5a2c286e5a5191a14c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 25 Jul 2013 18:02:58 +0200 Subject: [PATCH] more debugging --- maven_post_build_debian_wrapper.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maven_post_build_debian_wrapper.sh b/maven_post_build_debian_wrapper.sh index fe00401..02fc8e1 100755 --- a/maven_post_build_debian_wrapper.sh +++ b/maven_post_build_debian_wrapper.sh @@ -74,6 +74,7 @@ export set -e # fail on error set -x # echo commands executed +# write correct debian/changelog if [ "$GIT_BRANCH_NAME" = "master" ] || [ "${GIT_BRANCH_NAME:0:7}" = "hotfix/" ] ; then # generate debian/changelog entries since the last upload git-dch -a --ignore-branch --no-full --no-meta --id-length=7 -N $VERSION @@ -92,6 +93,7 @@ head -1 debian/changelog # build debian package (just binary, no source package) dpkg-buildpackage -us -uc -b +head -1 debian/changelog # upload to reprepro CHANGES_FILE=${SOURCE}_${VERSION}_amd64.changes -- 2.39.5