build inputs: every staged file is stamped now before zipping (the PC's cargo cache judged 0.3.6 sources older than its 0.3.5 build)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
(cherry picked from commit e0627a32d8)
This commit is contained in:
igneum-labs 2026-10-05 09:10:29 +00:00
parent 007556df90
commit a8f2d1a9e2

View file

@ -113,6 +113,10 @@ m = {
json.dump(m, open(out, "w"), indent=2, sort_keys=True)
PY
# Every staged file gets the current time: the PC keeps its cargo target dir between jobs and cargo decides what to
# rebuild by source mtime, so a source older than the last build (rsync and zip keep the Mac's dates) is wrongly
# taken as unchanged. 5 October 2026: the 0.3.6 job compiled the new daemon against the cached 0.3.5 consensus crate.
find "$TMP" -type f -exec touch {} +
rm -f "$OUT"
(cd "$TMP" && zip -qr "$OUT" "igneum-build-inputs" "igneum-pow" -x '*.DS_Store')
SUM="$(shasum -a 256 "$OUT" | awk '{print $1}')"