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

Fix azure cli version parsing #1294

Closed

Conversation

jubittajohn
Copy link
Collaborator

What this PR does

az --version | grep azure-cli |awk '{print $NF}'

command also returns the Python location which contains azure-cli in the path.
Below is the output of the above command.

2.68.0
'/opt/homebrew/Cellar/azure-cli/2.68.0/libexec/bin/python'

This change parses the version correctly

Jira:
Link to demo recording:

Special notes for your reviewer

Signed-off-by: jubittajohn <jujohn@redhat.com>
@jubittajohn jubittajohn force-pushed the azure-cli-version-constraint branch from 7546d3a to fa350b5 Compare February 10, 2025 21:07
@jubittajohn jubittajohn deleted the azure-cli-version-constraint branch February 12, 2025 14:33
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.

1 participant