devops: use only first commit line for Telegram notification messages

This commit is contained in:
Andrey Lushnikov 2020-01-11 00:35:30 +01:00
parent fd5c872d7f
commit 099aa69374

View File

@ -68,7 +68,7 @@ fi
cd -
source ./buildbots/send_telegram_message.sh
LAST_COMMIT_MESSAGE=$(git log --format=%B -n 1 HEAD -- ./$BROWSER_NAME/BUILD_NUMBER)
LAST_COMMIT_MESSAGE=$(git log --format=%s -n 1 HEAD -- ./$BROWSER_NAME/BUILD_NUMBER)
BUILD_ALIAS="<b>[[$(./upload.sh $BROWSER_NAME --show-alias $FFOX_WIN64)]]</b> $LAST_COMMIT_MESSAGE"
send_telegram_message "$BUILD_ALIAS -- started ⏳"