Skip to content

Enhanced version command to check for latest version and warn user#68

Merged
PrasadG193 merged 5 commits intomainfrom
version_enhance
Jun 2, 2021
Merged

Enhanced version command to check for latest version and warn user#68
PrasadG193 merged 5 commits intomainfrom
version_enhance

Conversation

@vishal-biyani
Copy link
Copy Markdown
Collaborator

@vishal-biyani vishal-biyani commented May 14, 2021

  • Check and notify user if the latest release available
  • Refactor Get K8s Version func to avoid unnecessary call

Example:

$ ./cli version
{"Version": "dev", "GitCommit": "none", "BuildDate": "unknown"}
There is a new version of kbrew available: v0.0.4, please run 'kbrew update' command to upgrade

vishal-biyani and others added 2 commits May 31, 2021 18:31
Signed-off-by: Vishal Biyani <vrbiyani@gmail.com>
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
@PrasadG193 PrasadG193 merged commit 65dc13b into main Jun 2, 2021
@PrasadG193 PrasadG193 deleted the version_enhance branch June 2, 2021 06:30
@vishal-biyani
Copy link
Copy Markdown
Collaborator Author

I am not sure if this is working, I just tried with my CLI and I think we have a new version released now?

kbrew version
{"Version": "v0.0.4", "GitCommit": "02d07c49185c10cfebb4bcbbb55e93eb3a2181e7", "BuildDate": "2021-05-13T04:02:47Z"}

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.

3 participants