While playing with kubesquash I noticed that there is no simple way to know which version of the cli tool one is using. This PR brings --version flag which prints the $(VERSION) set by the Makefile.
In addition, it sets LDFLAGS in one place and re-uses them across the compilation targets.
While playing with
kubesquash
I noticed that there is no simple way to know which version of the cli tool one is using. This PR brings--version
flag which prints the$(VERSION)
set by theMakefile
.In addition, it sets
LDFLAGS
in one place and re-uses them across the compilation targets.