Dev-loop Go build path (no meson involved) now computes commit id (git, -dirty suffixed, "unknown" on git failure) and build time (UTC date) via Make := (computed once per invocation), passing the identical -ldflags shape go_build (task 4.1) already establishes. Live-verified: make build-cli embeds real, git-matching values (go version -m). make build-server hits a pre-existing, unrelated CGO failure (bug-1597, missing CGO_CFLAGS/CGO_LDFLAGS) -- confirmed via stash A/B that this reproduces identically on the unmodified Makefile, not a regression from this change. Reproduced apiserver's build invocation manually with bug-1597's own documented workaround to prove the ldflags mechanism itself works correctly. Task 4.3/13 of build-time-versioning. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| settings | ||
| specs | ||
| steering | ||