Add -version flag
Opened this issue · 0 comments
matzf commented
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
.