Skip to content

"brew upgrade" suggestion can fail if user has not done "brew update" #370

Description

@adamancini

I don't think Casks get updated as part of the regular auto-update that occurs during a brew upgrade - I have several times had to explicitly issue a brew update && brew upgrade replicatedhq/replicated/cli to get the CLI package to upgrade.

The suggestion from the binary should probably include something to that effect.

Today:

$ replicated cluster kubeconfig 8d9ae092
Update available: v0.70.0
To upgrade, run "brew upgrade replicatedhq/replicated/cli"

$ brew upgrade replicatedhq/replicated/cli
Warning: replicatedhq/replicated/cli 0.69.0 already installed

Should probably read:

To upgrade, run "brew update && brew upgrade replicatedhq/replicated/cli"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions