Files
gvisor-tap-vsock/cmd/ssh-over-vsock
Christophe Fergeau f64bf1988b cmd/*: Add -version flag to executables
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>
2023-12-20 16:50:09 +01:00
..