Use ldflags for build versioning
#13 · Go · ★ 26 · Apache-2.0 · updated 1mo ago
Problem The version information added in #12 currently uses placeholder values. We need to inject version, commit hash, and build date at build time. Proposed Solution Use Go's -ldflags during build to inject version information: go build -ldflags "-X main.Version=${VERSION} -X…
replies in ~5dhas CONTRIBUTINGnobody circling
Cleared 1m ago