diff --git a/cmd/notation/version.go b/cmd/notation/version.go index 96cc91f6c..76eb48a6c 100644 --- a/cmd/notation/version.go +++ b/cmd/notation/version.go @@ -38,6 +38,7 @@ func runVersion() { fmt.Printf("Version: %s\n", version.GetVersion()) fmt.Printf("Go version: %s\n", runtime.Version()) + fmt.Printf("OS/Arch: %s/%s\n", runtime.GOOS, runtime.GOARCH) if version.GitCommit != "" { fmt.Printf("Git commit: %s\n", version.GitCommit) diff --git a/specs/cmd/version.md b/specs/cmd/version.md index a51ee1ae2..da6d9e096 100644 --- a/specs/cmd/version.md +++ b/specs/cmd/version.md @@ -11,6 +11,7 @@ Notation - a tool to sign and verify artifacts. Version: Go version: go +OS/Arch: / Git commit: ``` @@ -41,5 +42,6 @@ Notation - a tool to sign and verify artifacts. Version: 1.0.0 Go Version: go1.19.2 +OS/Arch: linux/amd64 Git commit: 1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a ```