Add version flag to show the current version of the tool#167
Merged
birdayz merged 2 commits intobirdayz:masterfrom Nov 3, 2021
Merged
Add version flag to show the current version of the tool#167birdayz merged 2 commits intobirdayz:masterfrom
birdayz merged 2 commits intobirdayz:masterfrom
Conversation
Owner
|
mh, currently i release locally by running goreleaser, i guess we either have to add the relevant flags to |
Contributor
Author
|
I think that if you use goreleaser, even locally, it will use the proper flags according to the git repo: release:
goreleaser --rm-distThis should trigger the build process with the |
Owner
|
that's good enough for me - thank you! will cut a new release in the next days. |
Contributor
Author
|
I'm glad its merged, thanks for the hard work @birdayz . |
Owner
|
ran a release, works like a charm: kaf --version Thanks! |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Hi @birdayz
I finally decided to try a first contribution for this project that has been so useful in the last year of my work.
I'm no go expert but I hope this is a good contribution and a good start.
As requested in #158 this PR:
versionon Cobra root command as per documentationldflagsOutput: