Priority: Low
Description
var version = "0.7.0" is hardcoded in main.go:16. The release pipeline overrides it via -ldflags, but local builds and --version during development show whatever is in source. This means the version needs to be bumped in both the source file and the git tag.
Suggested fix
Default to "dev" in source and only set the real version via ldflags — one source of truth:
Priority: Low
Description
var version = "0.7.0"is hardcoded inmain.go:16. The release pipeline overrides it via-ldflags, but local builds and--versionduring development show whatever is in source. This means the version needs to be bumped in both the source file and the git tag.Suggested fix
Default to
"dev"in source and only set the real version via ldflags — one source of truth: