Skip to content

[foundryctl] Enable version upgrades via the upgrade command #166

Description

@dhruv-ahuja

Summary

Introduce a new upgrade command that checks and upgrades the current Foundry installation to the latest version.

Motivation

This change makes Foundry upgrades convenient by reducing dependence on navigating GitHub to check whether there's been a new release, and the subsequent upgrade path by manually running the bash script.

This also brings Foundry more in-line with other package manager-type CLIs that all ship with this capability.

Proposed solution

Introduce a new upgrade command that checks the latest version, and performs an upgrade if the current version falls behind the latest.

A --dry-run or --check subcommand might be a nice add-on to just check for the latest version, without performing the actual upgrade.

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfoundryctlIssues related to foundryctl command line

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions