Skip to content

Automate CLI releases and Homebrew formula PRs - #65

Merged
trasch merged 1 commit into
mainfrom
feature/4-release-automation
Oct 27, 2026
Merged

trasch merged 1 commit into
mainfrom
feature/4-release-automation

Conversation

@trasch

@trasch trasch commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Automates the CLI release path and removes the manual Homebrew formula update.

  • The Release workflow now runs automatically when a GitHub release is published.
  • workflow_dispatch remains as a one-button backfill/retry path.
  • Builds a universal macOS mvt binary, computes the archive checksum, and uploads/overwrites mvt.tar.gz on the existing release.
  • Opens a Homebrew formula PR automatically via mislav/bump-homebrew-formula-action@v4.2.
  • Skips the Homebrew PR for prerelease tags.
  • Adds an explicit COMMITTER_TOKEN preflight check with an actionable error.
  • Updates and renames scripts/trigger-homebrew.sh to scripts/trigger-release.sh.
  • Adds RELEASING.md with token setup, normal release flow, prerelease behavior, and backfill instructions.
  • Updates README and changelog.

No direct pushes to the Homebrew tap: formula changes arrive as a PR and are merged after tap CI passes.

Required setup

The COMMITTER_TOKEN Actions secret needs write access to Outdooractive/homebrew-tap. The token must be able to create a branch in that repository.

Verification

  • actionlint passes for .github/workflows/release.yml.
  • sh -n scripts/trigger-release.sh passes.
  • Workflow YAML validated with actionlint.
  • The v3.0.0 backfill will be run after this and the tap CI PR are merged.

Closes #4

@trasch trasch self-assigned this Oct 27, 2026
@trasch trasch added the enhancement New feature or request label Oct 27, 2026
@trasch
trasch merged commit 43e5160 into main Oct 27, 2026
4 checks passed
@trasch
trasch deleted the feature/4-release-automation branch October 27, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatically push the command line tool to homebrew

1 participant