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`.
Add
-versionflag 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 ongo build.