Commit Graph

7 Commits

Author SHA1 Message Date
cfac32736e zero-gravity: resolve release tag by probing known forms; fail loudly on 404
0G publishes aristotle and galileo from two different repos, and neither uses a
consistent release-tag format. The asset filename is always <spec>-v<version>.tar.gz;
only the tag varies:

  aristotle -> 0gchain-Aristotle   1.0.4 = "1.0.4"    1.0.6 = "v1.0.6"
  galileo   -> 0gchain-NG          3.0.3 = "v3.0.3"   3.0.7 = "galileo-v3.0.7"   3.0.8 = "v3.0.8"

The hardcoded formats meant aristotle could not go past 1.0.4 and galileo could not
reach 3.0.7. Resolve the tag by trying the known forms in order instead.

Also switch curl -sL to -fsSL. Without -f a 404 HTML body was written into the
.tar.gz and the build failed several layers later at 'tar: not in gzip format',
an error pointing nowhere near the cause. That has now caused three separate
misdiagnoses, including a de-32 build blocker.

Verified end-to-end against the real artifacts: aristotle 1.0.4/1.0.6 and galileo
3.0.3/3.0.7/3.0.8 all resolve; aristotle 3.0.3 and galileo 9.9.9 fail immediately
with an actionable message.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-11 06:21:38 +00:00
goldsquid
adef3f5a99 fix 2025-12-28 16:22:13 +07:00
goldsquid
5cff27d93b now with aristotele support 2025-12-28 16:07:59 +07:00
goldsquid
ac327fc35f fix 2025-10-02 20:46:11 +07:00
goldsquid
736fa43bab fix 2025-09-16 20:04:47 +07:00
goldsquid
14fa2f463f fix 2025-09-16 20:03:37 +07:00
goldsquid
a839e48c68 names 2025-09-16 20:02:49 +07:00