cnabio / signy

Go implementation for CNAB content trust verification using TUF, Notary, and in-toto
MIT License
31 stars 11 forks source link

Add version command. Fixes #60 #86

Closed cvhariharan closed 3 years ago

cvhariharan commented 4 years ago

This PR adds a version command which shows the version, commit and buildTime of the CLI.

signy version

Version: 0.0.4
Commit: afba301
Built on: 2020-10-13T03:38:26Z

If any value could not be found

Version: unknown
Commit: afba301
Built on: 2020-10-13T03:38:26Z
radu-matei commented 4 years ago

One more thing before merging, @cvhariharan - you do need to sign all your commits.

Thanks!

trishankatdatadog commented 4 years ago

Please see our YubiKey repo for easy setup of git commit signing.

cvhariharan commented 4 years ago

@radu-matei @trishankatdatadog I have signed the commit.