Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
12 lines
418 B
Go
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 = ""
|
|
)
|