Skip to content

fix(release): trust the Homebrew formula and support release retests - #19

Merged
softmaxe merged 1 commit into
mainfrom
fix/homebrew-release-recovery
Nov 7, 2026
Merged

softmaxe merged 1 commit into
mainfrom
fix/homebrew-release-recovery

Conversation

@softmaxe

@softmaxe softmaxe commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

Homebrew now refuses to load the locally generated test formula until it is explicitly trusted. Release v0.0.2 was published, but formula testing failed and prevented the tap update.

 generate formula
 install formula into temporary tap
+brew trust --formula softmaxe/release-test/gbat
 brew audit --strict
 brew install
 brew test

Add an optional formula_tag input to retest an existing release using the current workflow, without rebuilding or republishing its assets. The retest verifies the published archive's checksum and tag-bound GitHub attestation, then uploads the tested formula. Normal tag releases continue to update the tap automatically; manual retests leave tap publication to the operator, preserving the tag-only environment restriction.

Evidence

  • Before: Release run 42382196272, attempt 4, failed with Refusing to load formula softmaxe/release-test/gbat from untrusted tap.
    After: The v0.0.2 recovery run passed archive checksum and tag-bound attestation verification, brew audit --strict, installation, and the installed binary version test on macOS arm64. The tested formula was uploaded successfully.
  • actionlint v1.7.12 and bash -n passed for the updated release workflow.

Merge Danger

Door: two-way

Blast Radius: release

Changes only release orchestration. Manual retests have read-only permissions and cannot publish a release or access the Homebrew tap environment token.

@softmaxe
softmaxe merged commit dc784ed into main Nov 7, 2026
10 checks passed
@softmaxe
softmaxe deleted the fix/homebrew-release-recovery branch November 7, 2026 15:44
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