Skip to content

add the version command #15

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rgl
Copy link

@rgl rgl commented Jun 20, 2025

closes #10

this was tested by creating the v0.3.3 git version tag and then executing the following commands:

$ goreleaser release --skip=publish --clean
...
 • getting and validating git state
    • git state                                      commit=0fbcb9d92034f39ac25158bab00cedef650fc498 branch=rgl-version-command current_tag=v0.3.3 previous_tag=v0.3.2 dirty=false
...
$ ./dist/kubectl-linstor_linux_amd64_v1/kubectl-linstor version
0.3.3

Signed-off-by: Rui Lopes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add version sub-command
1 participant