Skip to content

release: update the Homebrew formula after publishing a binary release #893

Closed

Description

@jhrozek

Context

The binary release creates a versioned Darwin ARM64 archive. The Homebrew formula must receive the matching version, URL, and SHA-256 checksum; manual updates invite drift.

Scope

Automate an update to stacklok/homebrew-mecatl after successful binary-asset publication.

Acceptance criteria

  1. A successful vX.Y.Z binary release updates only the formula fields needed for that release: version, archive URL, and SHA-256 checksum.
  2. The updater cannot write to stacklok/mecatl source content.
  3. Cross-repository write access uses a GitHub App installation token scoped only to the tap repository; no long-lived PAT is stored in repository secrets.
  4. The update path validates the formula and runs installed-binary smoke tests before publication.
  5. A failure is visible and actionable; it must not claim Homebrew distribution succeeded.
  6. The automation remains compatible with the later public-tap transition.

Decision

Choose whether private-period updates open a reviewable tap PR or commit directly. Begin with an automated PR; revisit direct updates after several successful releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions