Files
tuio/internal/tui/version.go
T
jbandClaude Opus 4.8 ef126eaf61 feat: add build-stamped version with --version flag and TUI header
Introduce tui.Version (defaults to "dev"), stamped at build time via a
VERSION_LDFLAG in the Makefile (-X .../internal/tui.Version=$(VERSION))
across all build targets. main.go handles "--version"/"-v" before
launching the TUI, and the version is shown next to the title in the
header. Docs updated (README + CLAUDE).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 14:57:05 -03:00

7 lines
246 B
Go

package tui
// Version is the installer version. It is stamped at build time via
// -ldflags "-X git.davinti.com.br/davinTI/app-dono/tui/internal/tui.Version=<v>"
// (see the Makefile) and defaults to "dev" for local builds.
var Version = "dev"