diff --git a/browser_patches/checkout_build_archive_upload.sh b/browser_patches/checkout_build_archive_upload.sh index 40348e8d0f..969da1a444 100755 --- a/browser_patches/checkout_build_archive_upload.sh +++ b/browser_patches/checkout_build_archive_upload.sh @@ -421,7 +421,8 @@ if generate_and_upload_browser_build 2>&1 | ./sanitize_and_compress_log.js $LOG_ fi done; LAST_COMMIT_MESSAGE=$(git log --format=%s -n 1 HEAD -- "./${BROWSER_NAME}/BUILD_NUMBER") - send_telegram_message "${BROWSER_DISPLAY_NAME} r${BUILD_NUMBER} COMPLETE! \\u270 ${LAST_COMMIT_MESSAGE}" + CHECKMARK_CHAR=$(printf '\xe2\x9c\x85') + send_telegram_message "${BROWSER_DISPLAY_NAME} r${BUILD_NUMBER} COMPLETE! ${CHECKMARK_CHAR} ${LAST_COMMIT_MESSAGE}" if [[ "${BROWSER_DISPLAY_NAME}" != "chromium-with-symbols" ]]; then create_roll_into_playwright_pr $BROWSER_NAME $BUILD_NUMBER fi @@ -447,7 +448,8 @@ else fi # Upload logs only in case of failure and report failure. ./upload.sh "${LOG_BLOB_PATH}" ${LOG_PATH} || true - send_telegram_message "$BUILD_ALIAS -- ${FAILED_STEP} failed! \\u274c ${LOG_BLOB_NAME} -- GitHub Action Logs" + CROSS_CHAR=$(printf '\xe2\x9d\x8c') + send_telegram_message "$BUILD_ALIAS -- ${FAILED_STEP} failed! ${CROSS_CHAR} ${LOG_BLOB_NAME} -- GitHub Action Logs" exit 1 fi