Skip to content
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

An update while running rhoas version command prints older version #1561

Open
rkpattnaik780 opened this issue May 10, 2022 · 1 comment
Open
Labels

Comments

@rkpattnaik780
Copy link
Contributor

If the CLI gets updated while rhoas version command is being run, the older version gets printed.

Log

rhoas version                         
? RHOAS CLI can be updated to 0.42.0. 
Do you want to update now?  

NOTE: You might need to run command as root to update RHOAS CLI binary.
 Yes
RHOAS CLI updated to version 0.42.0
rhoas version 0.41.1

➜  ~ rhoas version
rhoas version 0.42.0
@jackdelahunt
Copy link
Contributor

jackdelahunt commented Apr 3, 2023

One idea can be not to run the command after the update is done, this will allow the user to then run the correct version of the CLI the next time. Investigate with other CLIs in how they handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants