areweplaying/pkg/version/version.go
Harry Culpan a7ebc192c8 Add build version/time stamp to Setup page and awp-cli version command
Embeds the git short hash and UTC build timestamp into both binaries
via ldflags so it's easy to confirm which build is actually deployed,
without needing to hand-maintain a version number.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-11 19:33:40 -04:00

8 lines
171 B
Go

package version
// Set at build time via -ldflags (see Makefile). Defaults are used for
// `go run` / unbuilt binaries.
var (
Version = "dev"
BuildTime = "unknown"
)