Skip to content

fix(release): repour the bottle after building it - #676

Merged
brianjfox merged 1 commit into
mainfrom
fix/release-repour-bottle
Aug 20, 2026
Merged

fix(release): repour the bottle after building it#676
brianjfox merged 1 commit into
mainfrom
fix/release-repour-bottle

Conversation

@brianjfox

Copy link
Copy Markdown
Owner

Summary

Diagnoses and fixes #671 (brew install gnash compiling from source instead of pouring).

Diagnosis

  • The formula, bottle block (arm64_golden_gate), and uploaded release asset for 2.1.3 are all correct — brew fetch brianjfox/tools/gnash downloads the bottle, and a clean brew install pours it (verified: poured_from_bottle: true, no cmake run).
  • The compile-from-source behavior only happens on the release machine: scripts/release.sh builds the bottle with brew install --build-bottle and leaves that install in place. Its receipt records built_as_bottle: true, poured_from_bottle: false, and Homebrew re-applies that state on every later install/reinstall/upgrade — so gnash kept compiling from source (and skipped post_install with "Not running 'post_install' as we're building a bottle").

Fix

  • release.sh now finishes by uninstalling the --build-bottle artifact and reinstalling normally after the tap is pushed, so the release machine ends on the bottle it just published. Guarded by --skip-bottle.
  • The current machine state was repaired the same way: gnash 2.1.3 is now poured from gnash-2.1.3.arm64_golden_gate.bottle.tar.gz.

bash -n passes on the script.

Closes #671

🤖 Generated with Claude Code

scripts/release.sh builds the Homebrew bottle with `brew install
--build-bottle' and left the machine in that state: the install
receipt records built_as_bottle with poured_from_bottle false, so
every later `brew install'/`reinstall'/`upgrade' of gnash on the
release machine compiled from source again (and skipped post_install)
instead of pouring -- the symptom reported in #671.  Fresh installs on
other machines were unaffected; the arm64_golden_gate bottle for 2.1.3
uploads and pours correctly.

After pushing the tap, uninstall the from-source artifact and
reinstall normally, so the release machine ends on the bottle it just
published.

Closes #671
@brianjfox
brianjfox merged commit c006b4a into main Aug 20, 2026
1 check passed
@brianjfox
brianjfox deleted the fix/release-repour-bottle branch August 20, 2026 07:26
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.

brew install gnash fails because it's now compiling gnash again, instead of just pouring it from a bottle

1 participant