mirror of
https://github.com/containers/gvisor-tap-vsock.git
synced 2025-10-29 03:02:40 +08:00
This sets the version to `git describe --always --dirty` using the `-X github.com/containers/gvisor-tap-vsock/pkg/types.ModuleVersion` linker flag. This adds a -version flag to all binaries which currently have command-line flags. Correct versioning when installing from tarballs, and through `go install` will be addressed in the next commits. This fixes https://github.com/containers/gvisor-tap-vsock/issues/295 Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>