Files
bircni e6b8e3f37b feat: add gt upgrade and a new release notice (#63)
gt had no way to update itself, and nothing told users a new release was out.

`gt upgrade` replaces gt with the latest release (or `--version`, `--nightly`) from dl.gitea.com and verifies its SHA-256 like the install script. Homebrew, Linux package, Nix and `go install` installations are left to those tools, and the error names the right command.

Like gh, gt now checks gitea.com for a newer release at most once a day and shows a notice after a command that succeeds. The check runs in the background, so a command never waits for it; it is off in CI, when output is not a terminal, and when `GITEA_CLI_NO_UPDATE_NOTIFIER` is set.

Reviewed-on: https://gitea.com/gitea/cli/pulls/63
2026-11-01 17:34:47 +00:00
..