package version // Version is the app version. It defaults to "dev" for local builds and is // overridden at build time in release images via: // // go build -ldflags "-X bookhoard/internal/version.Version=v1.5" // // The release workflow passes the git tag (e.g. v1.5) as the APP_VERSION // Docker build arg, which the Dockerfile forwards to this flag. var Version = "dev" // Commit is the git commit the binary was built from (short hash), // injected alongside Version via ldflags (GIT_COMMIT build arg). It // exists so "the UI I'm looking at" vs "the code in the repo" drift is // VISIBLE — the 2026-10-29 podcast debugging session burned an hour on // a stale container that predated the feature. "none" for unstampeded // local builds. var Commit = "none"