Duplicate check
Problem
san update
• Check for new releases and upgrade san itself
• Support the following modes:
• san update — check and upgrade to the latest stable release
• san update --check — only check for updates, do not download
• san update --version v1..2.3 — upgrade to a specific version
• san update --force — force overwrite the local binary
• Automatically back up the current binary before upgrading
• Roll back automatically on failure
Proposed solution
Example:
$ san update --check
Current version: 1.2.3
Latest version: 1.3.0
A new release is available. Run `san update` to upgrade.
$ san update
Downloading san v1.3.0...
Backup created at /usr/local/bin/san.bak
Update successful. Please restart your shell.
Alternatives considered
No response
Duplicate check
Problem
san update
• Check for new releases and upgrade san itself
• Support the following modes:
• san update — check and upgrade to the latest stable release
• san update --check — only check for updates, do not download
• san update --version v1..2.3 — upgrade to a specific version
• san update --force — force overwrite the local binary
• Automatically back up the current binary before upgrading
• Roll back automatically on failure
Proposed solution
Example: $ san update --check Current version: 1.2.3 Latest version: 1.3.0 A new release is available. Run `san update` to upgrade. $ san update Downloading san v1.3.0... Backup created at /usr/local/bin/san.bak Update successful. Please restart your shell.Alternatives considered
No response