Compare commits

..

No commits in common. "4b122adaed02083dd82e5c7154fe9eacca13f121" and "0e214f8aad5dc66b1d0d6b2006f49d951e9e24da" have entirely different histories.

View File

@ -78,13 +78,12 @@ fi)
<details> <details>
<summary>Previous builds</summary> <summary>Previous builds</summary>
<div class="scrollbox"> <div class="scrollbox">
<a href="/${PWD##*/}">latest</a><br/>
$( $(
find "$DATADIR" -name "status_*.html" -type f -printf "%f\n" | sort -r | head -n10 | while read stat; do find "$DATADIR" -name "status_*.html" -type f -printf "%f\n" | sort -r | head -n10 | while read stat; do
t="${stat#status_}" t="${stat#status_}"
t="${t%.html}" t="${t%.html}"
printf '<a href="%s">%s</a> - %s<br/>' \ printf '<a href="%s">%s</a> - %s<br>' \
"/${PWD##*/}/${DATADIR}/$stat" "$(timestamp "$t")" "$(sed -rn 's;^.*<dt>Duration:</dt><dd>(.+)</dd>.*$;\1;p;T;q' "$stat")" "data/$stat" "$(timestamp "$t")" "$(sed -rn 's;^.*<dt>Duration:</dt><dd>(.+)</dd>.*$;\1;p;T;q' "$stat")"
printf $'\n' printf $'\n'
done done
) )