Report the module version when installed with go install #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/version-from-build-info"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
go install .../cmd/fgj@latestdoes not apply the Makefile's -ldflags,so
fgj --versionand the User-Agent always said "dev". Fall back tothe main module version from runtime/debug build info when no version
was injected at build time.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com