Install from @latest, retract v0.0.1, print a go-installed binary's version (closes #116) #130

Merged
clawbot merged 1 commits from issue-116-install-latest-version into next 2026-10-17 05:44:50 +02:00
1 Commits
Author SHA1 Message Date
sneak 9ff524d83e Install from @latest, retract v0.0.1, print a go-installed binary's version (closes #116)
check / check (push) Waiting to run
README "Install" now leads with go install ...@latest: until 1.0 each
release is a v0.0.N tag on main's tip, so @latest gives that tip once
it has passed the build. It also says what @main and v0.0.1 give and
how to check an installed binary. go.mod retracts v0.0.1, the early
build without a database.

sfdupes --version printed "dev" for every go-installed binary, since
only the linker set Version. When the linker sets none, it now prints
the main module's version from runtime/debug.ReadBuildInfo; "dev" is
left only when neither is known. Version is now empty by default.

The retraction takes effect only once a release carrying it is the
newest.

Model: opus-5-5
2026-10-17 03:12:15 +00:00