Skip to content

docs(skill): document the CLI release process#47

Open
hbrooks wants to merge 1 commit into
mainfrom
docs/cli-release-process
Open

docs(skill): document the CLI release process#47
hbrooks wants to merge 1 commit into
mainfrom
docs/cli-release-process

Conversation

@hbrooks

@hbrooks hbrooks commented Jul 16, 2026

Copy link
Copy Markdown
Member

What

Documents how the CLI is released, in the ellipsis skill so it lives with the rest of the CLI knowledge. There was no written record of the release process before.

Why

Came out of a "how do we automate the release?" question. The build-and-publish half is already fully automated on tag push; the only manual part is the version bump + tag. This captures both so the process is discoverable.

Content added

A "Releasing the CLI (maintainers)" section covering:

  • Distribution is Homebrew-tap-only, never npm. package.json is private, has no bin, no publishConfig. The one npm version call in the workflow is just a local version-bump tool, not a registry publish.
  • release.yml automation on a vX.Y.Z tag push (plus the workflow_dispatch fallback): stamp version, cross-compile the four platform binaries, checksums, GitHub release, regenerate + push the Homebrew formula.
  • package.json is the version source of truth (src/lib/constants.ts inlines pkg.version).
  • The manual steps (Hunter cuts releases): green CI, bump package.json, chore(release): vX.Y.Z commit, then create + push the matching tag. Tag version must equal package.json version because the formula's test do asserts agent --version.

Docs-only; no code changes.

Add a maintainers section to the ellipsis skill covering how the CLI is
released: Homebrew-tap-only distribution (never npm), the tag-triggered
release.yml automation, and the manual bump/commit/tag steps. Records
that package.json is the version source of truth and the tag must match.
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