Files
tenant-registry/internal/buildinfo/buildinfo.go
sharangandClaude Opus 5.5 557fbf85f5
ci / shared (push) Successful in 12s
ci / test (push) Successful in 24m47s
ci / image (push) Successful in 39s
feat(server): public GET /version with build version and commit (#63)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 19:51:40 +00:00

12 lines
418 B
Go

// Package buildinfo carries the version and commit the binary was built from.
// The image build sets both with -ldflags -X (Dockerfile build args VERSION and
// COMMIT, filled by CI); a local `go build` keeps the defaults.
package buildinfo
var (
// Version is the release tag the build descends from, e.g. "v0.1.4".
Version = "dev"
// Commit is the full git commit hash; empty for a local build.
Commit = ""
)