add version command which can show consistent results with cosign version / kubectl version
Example
$ kubectl sigstore version
{"Major":"","Minor":"","GitVersion":"develop","GitCommit":"6a68624364450d015ee1abc75fb5647a8d7b18d4","GitTreeState":"dirty","BuildDate":"2021-09-07T06:49:43Z","GoVersion":"go1.16.2","Compiler":"gc","Platform":"darwin/amd64"}
# example output after setting tag for a commit
$ kubectl sigstore version
{"Major":"0","Minor":"1","GitVersion":"v0.1.0","GitCommit":"6a68624364450d015ee1abc75fb5647a8d7b18d4","GitTreeState":"dirty","BuildDate":"2021-09-07T06:49:43Z","GoVersion":"go1.16.2","Compiler":"gc","Platform":"darwin/amd64"}
Signed-off-by: Hirokuni-Kitahara1 hirokuni.kitahara1@ibm.com
version
command which can show consistent results withcosign version
/kubectl version
Example