Skip to content

Report module version for source installs - #3

Merged
1337lean merged 1 commit into
mainfrom
agent/report-installed-version
Aug 7, 2026
Merged

Report module version for source installs#3
1337lean merged 1 commit into
mainfrom
agent/report-installed-version

Conversation

@1337lean

@1337lean 1337lean commented Aug 7, 2026

Copy link
Copy Markdown
Owner

What changed

  • use Go build information as the version fallback for source-installed binaries
  • preserve linker-injected versions for packaged releases
  • keep local development builds reporting dev
  • cover release, module, pseudo-version, development, and missing-build-info cases

Why

The documented go install github.com/1337lean/gatehouse/cmd/gatehouse@latest path worked, but its version command reported dev. Source-installed binaries now report the module version embedded by the Go toolchain.

Validation

  • go test ./...
  • go test -race ./...
  • go vet ./...
  • Go 1.25 test/build compatibility
  • Staticcheck v0.7.0
  • govulncheck v1.1.4
  • Actionlint v1.7.12
  • GoReleaser v2.17.1 check
  • six-target snapshot build plus releasecheck

@1337lean
1337lean marked this pull request as ready for review August 7, 2026 03:09
@1337lean
1337lean merged commit bb6ab99 into main Aug 7, 2026
15 checks passed
@1337lean
1337lean deleted the agent/report-installed-version branch August 7, 2026 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant