From 4108e5af1aad9ca3bf5aca020566c5f0df6cebf2 Mon Sep 17 00:00:00 2001 From: Sam & Claude Date: Mon, 15 Jun 2026 19:09:50 +0200 Subject: [PATCH] docs(freebsd): stamp zot build version in handoff (Sam & Codex) --- docs/FREEBSD-BUILD-LANE-HANDOFF.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/FREEBSD-BUILD-LANE-HANDOFF.md b/docs/FREEBSD-BUILD-LANE-HANDOFF.md index f0564d0..bb5a44a 100644 --- a/docs/FREEBSD-BUILD-LANE-HANDOFF.md +++ b/docs/FREEBSD-BUILD-LANE-HANDOFF.md @@ -53,14 +53,16 @@ cargo test --workspace # confirm green on real FreeBSD; report output cargo clippy --workspace --all-targets -- -D warnings # zot agent binary (Go) — the agent has no FreeBSD release, so build it. -# This is the exact command clawdie-iso's preflight prints; ZOT_VERSION -# defaults to v0.2.29. Output must land at bin/zot (the ISO default artifact -# path). Check out the tag you intend to ship: ISO_VERSION auto-tracks the -# zot checkout via `git describe`, so the checked-out ref becomes the ISO -# version. +# Use the version-stamped Makefile path, not a bare `go build`, so +# `./bin/zot --version` matches the shipped tag. Output must land at bin/zot +# (the ISO default artifact path). Check out the tag you intend to ship: +# ISO_VERSION auto-tracks the zot checkout via `git describe`, so the +# checked-out ref becomes the ISO version. cd ../zot git checkout v0.2.29 -GOOS=freebsd GOARCH=amd64 go build -trimpath -o bin/zot ./cmd/zot +ZOT_BUILD_VERSION="${ZOT_VERSION:-v0.2.29}" +VERSION="${ZOT_BUILD_VERSION#v}" make build +./bin/zot --version ``` After both builds, these must exist (the ISO preflight checks each): -- 2.45.3