Skip to content

Version string maintained in two places #9

@dbravender

Description

@dbravender

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:

var version = "dev"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions