Skip to content

feat(upgrade): add tiger upgrade self-update command#163

Open
aprimakina wants to merge 1 commit into
mainfrom
feat/upgrade-command
Open

feat(upgrade): add tiger upgrade self-update command#163
aprimakina wants to merge 1 commit into
mainfrom
feat/upgrade-command

Conversation

@aprimakina

@aprimakina aprimakina commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

What

Adds a tiger upgrade self-update command and reworks the update notifier to check on every invocation, reconciled so the notifier points users at the path that works for their install method.

  • tiger upgrade: replaces the running binary with the latest release: check latest.txt → download the platform archive → verify SHA-256 → extract → atomic in-place swap.

  • Breaking config change: version_check_intervalversion_check (bool, default true). A load-time migration preserves intent for existing configs (interval == 0 stays disabled); explicit version_check / TIGER_VERSION_CHECK wins. config set version_check_interval now errors.

@aprimakina aprimakina self-assigned this Jun 9, 2026
@aprimakina aprimakina force-pushed the feat/upgrade-command branch 2 times, most recently from 64b1f3d to 6ebfc38 Compare June 9, 2026 12:03
Port Ghost's upgrade command to Tiger CLI. `tiger upgrade` (alias
`update`) downloads the latest release archive for the current platform
from releases_url, verifies its SHA-256 checksum, extracts the `tiger`
binary, and atomically replaces the running binary in place.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@aprimakina aprimakina force-pushed the feat/upgrade-command branch from 6ebfc38 to 56afd5c Compare June 9, 2026 12:08
@aprimakina aprimakina marked this pull request as ready for review June 9, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant