Repository navigation
fix(release): trust the Homebrew formula and support release retests - #19
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 testAdd an optional
formula_taginput 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
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.actionlintv1.7.12 andbash -npassed 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.