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
Summary
Introduce a new
upgradecommand 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
upgradecommand that checks the latest version, and performs an upgrade if the current version falls behind the latest.A
--dry-runor--checksubcommand 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