Skip to content

Homebrew release automation for copilot-cli#1

Merged
natikgadzhi merged 2 commits into
mainfrom
claude/sweet-sagan-uzHIP
Jun 1, 2026
Merged

Homebrew release automation for copilot-cli#1
natikgadzhi merged 2 commits into
mainfrom
claude/sweet-sagan-uzHIP

Conversation

@natikgadzhi

@natikgadzhi natikgadzhi commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Makes copilot.py installable as a copilot-cli command via Homebrew, so users no longer type uv run copilot.py.

What's here

  • .github/workflows/release.yml — on a v* tag (or workflow_dispatch): verifies __version__ matches the tag, publishes copilot.py as a release asset (verbatim, so its sha256 is the file's hash), creates the GitHub Release, then regenerates Formula/copilot-cli.rb in natikgadzhi/homebrew-taps and pushes it.
  • .github/workflows/tag.yml — manual workflow_dispatch (patch/minor/major) that bumps __version__ in copilot.py, commits Release vX.Y.Z to main, tags, and dispatches release.yml. Mirrors the copilot-auth repo's tagging flow.
  • README — new "Install" section documenting brew install natikgadzhi/taps/copilot-cli.

Design

The formula keeps the single-file uv-script philosophy: it just depends_on "uv" and wraps copilot.py, letting uv resolve/cache the PEP 723 deps. No restructuring into a pip package.

Required before first install

  1. Set repo secret HOMEBREW_TAP_GITHUB_TOKEN — a PAT with contents:write on natikgadzhi/homebrew-taps (so the release can push the formula). Same secret name your other tools (e.g. slack-cli) use.
  2. Publish v0.4.0: push the v0.4.0 tag (the script already reads 0.4.0), or once merged, run the Tag workflow for the next version. The committed formula already matches the current copilot.py hash.

https://claude.ai/code/session_01QQQNWfXFv9V9UMunBwGATJ

claude added 2 commits June 1, 2026 17:25
Tag-driven release.yml publishes copilot.py as a release asset and
regenerates the formula in natikgadzhi/homebrew-taps; tag.yml bumps
__version__ and dispatches it. README documents brew install.

https://claude.ai/code/session_01QQQNWfXFv9V9UMunBwGATJ
@natikgadzhi natikgadzhi marked this pull request as ready for review June 1, 2026 17:34
@natikgadzhi natikgadzhi merged commit 305e6e9 into main Jun 1, 2026
1 check passed
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.

2 participants