]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
more debugging
authorHolger Levsen <holger@layer-acht.org>
Thu, 25 Jul 2013 16:02:58 +0000 (18:02 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 25 Jul 2013 16:02:58 +0000 (18:02 +0200)
maven_post_build_debian_wrapper.sh

index fe00401c15cc974e8d4b4ddbcb9fca1999cd44e3..02fc8e1a4c76f1d4e2492aa05909b2885f1fc94e 100755 (executable)
@@ -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