-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add version subcommand #212
Comments
Good idea. You would be on master here so there is not version as such, but when roll a release we could likely use the tag |
I'd be willing to contribute on this. What I generally do on Go project is an internal package Would that be ok? On Questions:
Thanks! |
Seems like a duplicate to me. I think there should be either
I usually put a static string in the package for tags (so |
@endorama I pinged you on slack about something |
@lukehinds isn't this done? |
I see Just a note, it's not very useful when you install via
😄 |
@invidian have you tried with the latest release? |
Well, I've tried the release binary and it of course works as expected. |
Perhaps it should show the commit hash as version unless it is a tagged one. |
@invidian @hectorj2f the otherwise, maybe we can hardcode those to be something like |
I know that some projects, have latest tag + |
sounds good to me this maybe we can do for both rekor, fulcio and cosign |
now if you do
|
I've tried to upload a record for my software for testing and I had some issues. I installed
rekor
usinggo get -u -v github.com/sigstore/rekor/cmd/cli
.When I pulled the repository and rebuild the binary, everything worked.
It would be nice if
--version
orversion
subcommand (ideally both, aliased) could be implemented, so one can quickly check what version it's running. Even though forgo get
installations it will be difficult to get reasonable version without tagged release.The text was updated successfully, but these errors were encountered: