Skip to content

spin plugin upgrade should understand version 0.10.0 is greater than version 0.9.1 #2954

@chikoski

Description

@chikoski

I tried to upgrade the cloud plugin to 0.10.0, but the plugin update command stopped with the following error message:

$ spin plugin upgrade cloud
Error: Newer version 0.9.1 of plugin 'cloud' is already installed. To downgrade to version 0.10.0, run `spin plugins upgrade` with the `--downgrade` flag.

The command should recognize the version number correctly and enable us to upgrade the plugin to 0.10.0 from 0.9.1 without setting --downgrade flag.

  • Spin version: spin 3.0.0 (737778e 2024-11-07)
  • Installed plugin versions (spin plugins list --installed)
    • cloud 0.9.1 [installed]
    • js2wasm 0.6.1 [installed]

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