diff options
author | EuAndreh <eu@euandre.org> | 2021-07-25 16:00:57 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-07-25 16:00:57 -0300 |
commit | 301a644485dac428e6ef09396bbc9f7c3180849b (patch) | |
tree | c1b7eac20494127ce283a29a4da6e08be9f3e765 /aux/ci/report.sh | |
parent | src/xyz/euandreh/queue.scm: Update mdpo to 0.3.63 (diff) | |
download | packages-301a644485dac428e6ef09396bbc9f7c3180849b.tar.gz packages-301a644485dac428e6ef09396bbc9f7c3180849b.tar.xz |
aux/: Update
Diffstat (limited to 'aux/ci/report.sh')
-rwxr-xr-x | aux/ci/report.sh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/aux/ci/report.sh b/aux/ci/report.sh index 69dbea3..1aa41a0 100755 --- a/aux/ci/report.sh +++ b/aux/ci/report.sh @@ -2,6 +2,8 @@ set -eu TLD="$(cat aux/tld.txt)" +. aux/lib.sh + while getopts 'n:o:' flag; do case "$flag" in n) @@ -32,14 +34,9 @@ FAIL='❌' mkdir -p "$OUTDIR/ci-logs" "$OUTDIR/ci-data" -OUT="$(mktemp)" +OUT="$(mkstemp)" chmod 644 "$OUT" -git fetch origin refs/notes/ci-data:refs/notes/ci-data ||: & -git fetch origin refs/notes/ci-logs:refs/notes/ci-logs ||: & -git fetch origin refs/notes/commits:refs/notes/commits ||: & -wait - for c in $(git notes list | cut -d\ -f2); do DATA="$(git notes --ref=refs/notes/ci-data show "$c")" FILENAME="$(echo "$DATA" | cut -d\ -f2)" @@ -64,7 +61,7 @@ cat <<EOF >> "$OUT" </head> <body> <h1> - CI logs for <a href="https://$TLD/$PROJECT/">$PROJECT</a> + CI logs for <a href="https://$TLD/$PROJECT/en/">$PROJECT</a> </h1> <ul> EOF |