Skip to content

move-flow-v1.1.0

@zwxxb zwxxb tagged this 01 Jul 12:19
* [move-flow] bump version to 1.1.0 and add self_update dependency

Same git pin and features as crates/aptos — already in Cargo.lock.

* [move-flow] add update subcommand

move-flow update [--check]

  --check   Print whether a newer version is available, no download.
  (default) Fetch latest move-flow-v* release from aptos-labs/aptos-ai,
            verify version, download matching platform zip, and atomically
            replace the running binary.

Implementation notes:
- Uses the self_update crate (same banool fork + pin as the aptos CLI).
- Offloads the blocking reqwest call to tokio::task::spawn_blocking to
  avoid panicking inside the async runtime.
- Strips .beta/.rc suffixes before bump_is_greater (x.y.z only).
- Hidden --repo-owner / --repo-name flags match the aptos CLI pattern
  and allow pointing at alternative repos for testing.

---------

Co-authored-by: zwxxb <zwxxb@users.noreply.github.com>
Assets 2
Loading