From c5de5e0f1f3e447174cf295fa905e64de46bbab0 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Mon, 30 Jan 2023 13:18:53 +0100 Subject: [PATCH] armbian-next: logging: ansi-haste sharing beta 2 (now with URL) --- lib/functions/logging/export-logs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/functions/logging/export-logs.sh b/lib/functions/logging/export-logs.sh index 37185f4f5..48e7411a7 100644 --- a/lib/functions/logging/export-logs.sh +++ b/lib/functions/logging/export-logs.sh @@ -148,7 +148,8 @@ function export_ansi_logs() { if [[ "${show_message_after_export:-"yes"}" != "skip" ]]; then display_alert "ANSI log file built; inspect it by running:" "less -RS ${target_relative_to_src}" - display_alert "Share log (beta!)" "cat ${target_relative_to_src} | curl --data-binary @- https://paste.next.armbian.com/documents" + display_alert "Share log (beta 2!)" "curl --data-binary @${target_relative_to_src} https://paste.next.armbian.com/log" + # @TODO: compress; have a CLI cmd to upload; also render Markdown logs, etc fi return 0