Skip to content

surfpool upgrade: use semver check #623

@MicaiahReid

Description

@MicaiahReid

We should probably do a semver > check rather than == here - if we have a pre-release published, this current logic would actually downgrade the release. (Say latest is 1.0.0, but we publish 1.1.0-beta as a pre-release. If the user has the beta installed, then runs this, they will not be equal, so user will be downgraded to 1.0.0)

Originally posted by @MicaiahReid in #620 (comment)

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