Azure / Azure/azure-cli

When I run az --version, a warning issued about a new version but then there is none.

Open
#24,179 3 comments 0 reactions 2 assignees Claimed by @bebound View on GitHub
act-platform-engineering-squad Auto-Assign customer-reported feature-request Installation Service Attention Upgrade
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Related command**

az --version

**Describe the bug**

az --version shows this:

```
azure-cli 2.40.0 *

core 2.40.0 *
telemetry 1.0.8

Extensions:
aks-preview 0.5.100

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

Python location '/usr/local/Cellar/azure-cli/2.40.0/libexec/bin/python'
Extensions directory '/Users/gpaulissen/.azure/cliextensions'

Python (Darwin) 3.10.7 (main, Sep 15 2022, 01:51:29) [Clang 14.0.0 (clang-1400.0.29.102)]

Legal docs and information: aka.ms/AzureCliLegal

You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade'
New Azure CLI version available. Running 'az upgrade' to update automatically.
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Your current Azure CLI version is 2.40.0. Latest version available is 2.41.0.
Please check the release notes first: https://docs.microsoft.com/cli/azure/release-notes-azure-cli
Do you want to continue? (Y/n): Y
Already up-to-date.
Warning: azure-cli 2.40.0 already installed
WARNING: New Azure CLI version available. Running 'az upgrade' to update automatically.
WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
WARNING: Your current Azure CLI version is 2.40.0. Latest version available is 2.41.0.
WARNING: Please check the release notes first: https://docs.microsoft.com/cli/azure/release-notes-azure-cli

Updated 1 tap (homebrew/cask).
==> Outdated Formulae
beancount gh kubernetes-cli libgpg-error openjdk@11 postgresql@14 tree
fava helm libffi libksba pinentry python@3.9
==> Outdated Casks
pgadmin4

You have 13 outdated formulae and 1 outdated cask installed.
You can upgrade them with brew upgrade
or list them with brew outdated.
Warning: azure-cli 2.40.0 already installed
WARNING: New Azure CLI version available. Running 'az upgrade' to update automatically.
WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
WARNING: Your current Azure CLI version is 2.40.0. Latest version available is 2.41.0.
WARNING: Please check the release notes first: https://docs.microsoft.com/cli/azure/release-notes-azure-cli
```

The command does not finish and when I press ENTER, it retries again.

**To Reproduce**

az --version

**Expected behavior**

**Environment summary**

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.