Skip to content

Commit 55ee95c

Browse files
ctruedenclaude
andcommitted
CI: pass latest smelt.json to status command
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 13f9bdb commit 55ee95c

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

.github/status.sh

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
#!/bin/sh
22
uv tool install "git+https://github.com/scijava/pombast.git"
3-
pombast status .
3+
4+
# Pull the most recently published smelt results so that `pombast status` can
5+
# classify each available version bump by its bytecode-floor blast radius
6+
# (flat / local / cascading / excluded). This is the same smelt.json the status
7+
# page itself fetches client-side, so the generator and the browser agree.
8+
#
9+
# Best-effort: if smelt.json is not published yet (or the fetch fails), status
10+
# still runs -- just without the bytecode classification overlay.
11+
smelt_arg=""
12+
if curl -fsSLO https://status.scijava.org/smelt.json; then
13+
smelt_arg="--smelt smelt.json"
14+
else
15+
echo "== smelt.json unavailable; running status without classification =="
16+
fi
17+
18+
pombast status $smelt_arg .
419
pombast badges -o badges.json .
520
pombast team .
621
.github/publish.sh "Update status reports" index.html badges.json team.html

0 commit comments

Comments
 (0)