Skip to content

Add -version flag #134

@matzf

Description

@matzf

Add -version flag to all binaries.

Determine version info during build using e.g. git describe --tags --dirty.

Inject the version information to the binary using the magic -ldflag="-X importpath.name=value" parameters on go build.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions