Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmd/notation/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions specs/cmd/version.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Notation - a tool to sign and verify artifacts.

Version: <MAJOR.MINOR.PATCH>
Go version: go<MAJOR.MINOR.PATCH>
OS/Arch: <OS>/<ARCH>
Git commit: <long_hash>
```

Expand Down Expand Up @@ -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
```
Loading