This repository was archived by the owner on May 1, 2026. It is now read-only.
Add "version" command#51
Merged
cterence merged 5 commits intocterence:mainfrom Sep 13, 2024
shayelkin:add-version-cmd
Merged
Conversation
This adds a "version" command that does exactly what you'd expect: prints the (module) version of Tailscale, and the hashmap of the commit the build was made from. It takes both from the BuildInfo embedded in the binary.
Closed
Owner
|
Thanks for your contribution, I'll take a look at it ASAP |
cterence
suggested changes
Sep 7, 2024
Owner
cterence
left a comment
There was a problem hiding this comment.
Thanks for your contribution. Will be able to merge after resolving the changes I suggested :)
Co-authored-by: Térence <terence.chateigne@posteo.net>
Contributor
Author
|
I used to have |
cterence
reviewed
Sep 13, 2024
Owner
|
Thank you @shayelkin ! |
cterence
approved these changes
Sep 13, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a "version" command that does exactly what you'd expect: it prints to the standard output the (module) version of Tailscale, and the hash of the commit the build was made from. It takes both from the BuildInfo embedded in the binary.