Commit Graph
1 Commits
Author SHA1 Message Date
sneak 85890f19bc Report the module version for a go install build (closes #18)
check / check (push) Failing after 1s
--version printed "dev" for any binary not built with make build, so a
user running a go install build could not say what version they had.

resolveVersion now falls back to the module version from
runtime/debug.ReadBuildInfo() when the build-time stamp is absent,
ignoring the "(devel)" of a local build. The stamped value still wins
when present. It takes the build info as an argument, so a test covers
the choice without a real build.

Model: opus-4-8
2026-09-21 07:33:08 +00:00