From 212c6ca5acb1b950e6abc41f6963d56f35338baa Mon Sep 17 00:00:00 2001 From: urpylka Date: Fri, 27 Apr 2018 13:42:12 +0300 Subject: [PATCH] image_config: fix output debug --- image_builder/image_config.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/image_builder/image_config.sh b/image_builder/image_config.sh index 96e1f868..0e39ee6f 100755 --- a/image_builder/image_config.sh +++ b/image_builder/image_config.sh @@ -338,14 +338,15 @@ publish_image() { echo -e "\033[0;31m\033[1m$(date) | Meashure size of zip-image\033[0m\033[0m" local IMAGE_SIZE=$(du -sh $1/$2.zip | awk '{ print $1 }') echo -e "\033[0;31m\033[1m$(date) | Meashuring copmlete!\033[0m\033[0m" - + echo "" echo "\$6: $6" - echo "\$7: $7" - + echo "" echo -e "\033[0;31m\033[1m$(date) | Post message to GH\033[0m\033[0m" local NEW_RELEASE_BODY="### Download\n* [$2.zip]($IMAGE_LINK) ($IMAGE_SIZE)\n\n$6" local DATA="{ \"body\":\"$NEW_RELEASE_BODY\" }" + echo "" echo "\$DATA: $DATA" + echo "" local GH_LOGIN=$(cat $4 | jq '.github.login' -r) local GH_PASS=$(cat $4 | jq '.github.password' -r) local GH_URL=$(cat $4 | jq '.github.url' -r)