armbian-next: logging: ansi-haste sharing beta 2 (now with URL)

This commit is contained in:
Ricardo Pardini
2023-01-30 13:18:53 +01:00
parent bb6975707a
commit c5de5e0f1f

View File

@@ -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