When creating the issue, show the last 150 lines, not 50

This commit is contained in:
pazpi 2026-01-08 09:11:03 +01:00
parent 6d9ce83698
commit 0513786903

View file

@ -235,8 +235,8 @@ jobs:
# Get build log if available
if [ -f "logs/build-${HOST}.txt" ]; then
LOG_TAIL=$(tail -50 "logs/build-${HOST}.txt" | sed 's/"/\\"/g' | sed ':a;N;$!ba;s/\n/\\n/g')
FAILURE_DETAILS="$FAILURE_DETAILS\n\n<details>\n<summary>$HOST build log (last 50 lines)</summary>\n\n\`\`\`\n$LOG_TAIL\n\`\`\`\n</details>"
LOG_TAIL=$(tail -150 "logs/build-${HOST}.txt" | sed 's/"/\\"/g' | sed ':a;N;$!ba;s/\n/\\n/g')
FAILURE_DETAILS="$FAILURE_DETAILS\n\n<details>\n<summary>$HOST build log (last 150 lines)</summary>\n\n\`\`\`\n$LOG_TAIL\n\`\`\`\n</details>"
fi
done
fi