Skip to content

v3.5.0

Choose a tag to compare

@github-actions github-actions released this 29 Sep 10:20
· 86 commits to main since this release
5fba266
feat(upgrade): opt-in --skills, channel detection, verified swap (#32)

* feat(upgrade): opt-in --skills, channel detection, verified swap

`mail-use upgrade` now only upgrades the CLI; skill copies are listed with
the command that refreshes them and touched only with `--skills` (a skill-only
refresh when the CLI is current).

- install channel: release binary vs Homebrew / npm / source checkout; the
  latter are refused (exit 1) with the owning manager's command, before any
  download. `--json` and `--check` report it as `install_channel`.
- sha256 sidecar is mandatory (missing, malformed or mismatched = exit 2);
  the extracted binary must run and report the requested version (PKG_* env
  stripped) before it is staged next to the target and renamed over it.
  Any failure leaves the installed binary untouched.
- install.sh: checksum mandatory, stage + atomic rename.
- `--check --tag vX.Y.Z` reports against the pinned release.
- skill git pulls never prompt for credentials.
- README / README.zh / SKILL.md; tests for version comparison, checksum
  mismatch and missing checksum, binary verification, channel detection,
  skills opt-in, and install.sh checksum handling.

* fix(upgrade): require the exact version from the downloaded binary