From: Holger Levsen Date: Thu, 25 Jul 2013 16:02:58 +0000 (+0200) Subject: more debugging X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=1971ff68e800eaf41cf7df5a2c286e5a5191a14c;p=profitbricks%2Fjenkins-build-scripts.git more debugging --- 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