From 10d132d5c2a1a84a7a8ecff00743879866c2106d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 25 Jul 2013 15:05:15 +0200 Subject: [PATCH] improve output --- maven_post_build_debian_wrapper.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/maven_post_build_debian_wrapper.sh b/maven_post_build_debian_wrapper.sh index 9e21cf8..2f17db5 100755 --- a/maven_post_build_debian_wrapper.sh +++ b/maven_post_build_debian_wrapper.sh @@ -74,9 +74,11 @@ function validateInput VERSION=$(echo $VERSION | sed -s "s#-SNAPSHOT##g") BUILD_START=$(date +%Y%m%d%H%M%S) VERSION="${VERSION}~${APPEND_TO_VERSION}${BUILD_START}+${BUILD_NUMBER}+g${GIT_COMMIT:0:7}" - echo "==================================" - echo $VERSION - echo "==================================" + SOURCE=$(dpkg-parsechangelog 2>/dev/null|grep ^Source:|cut -d " " -f2) # get the name of the source package + echo "Ahout to start to build the debian packages:" + echo "============================================" + echo "$SOURCE $VERSION" + echo "============================================" fi } @@ -107,7 +109,6 @@ fi dpkg-buildpackage -us -uc -b # upload to reprepro -SOURCE=$(dpkg-parsechangelog 2>/dev/null|grep ^Source:|cut -d " " -f2) # get the name of the source package CHANGES_FILE=${SOURCE}_${VERSION}_amd64.changes cd $WORKSPACE/.. # upload -- 2.39.5