Aptos cli release

From aptos-labs/aptos-core · View interactive version

Aptos cli release is an AI agent skill from the GitHub repository aptos-labs/aptos-core. Use when cutting or preparing a new Aptos CLI release, bumping the `aptos` crate version, or editing `crates/aptos/CHANGELOG.md` for a release

How to use this skill

Skill file

Aptos CLI release (crate `aptos`)

Files

| File | Change |

|------|--------|

| crates/aptos/Cargo.toml | Set [package] version = ... to the new semver. |

| crates/aptos/CHANGELOG.md | Follow Keep a Changelog and repo style: # Unreleased at top, then ## [X.Y.Z] sections newest first. |

Versioning

Match the requested bump type to the version field and to how you group notes under the new ## [version] heading.

Changelog workflow

  1. Under # Unreleased, collect bullet notes for changes since the last tagged CLI release (or move existing unreleased bullets).
  2. When releasing, add ## [<new version>] immediately below # Unreleased and move the bullets for this release under it (newest release section stays directly under Unreleased).
  3. If nothing is pending after a release, keep one placeholder bullet under # Unreleased (for example - _No changes yet._) so the section is clearly intentional, not an oversight.

Release tags

Installed CLIs compare their version against the newest aptos-cli-vX.Y.Z tag that has a published GitHub release (not a pre-release, with assets), and tell users to upgrade within 3 days of it appearing. Homebrew installs compare against the Homebrew formula instead, so they are only told once the homebrew-core bump PR from the release workflow merges.

Verification

After edits, run:

cargo check -p aptos

Common mistakes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.