Skip to content

feat(summarize): add Linux x64 and arm64 support#18

Closed
yetmike wants to merge 1 commit intosteipete:mainfrom
yetmike:linux-support
Closed

feat(summarize): add Linux x64 and arm64 support#18
yetmike wants to merge 1 commit intosteipete:mainfrom
yetmike:linux-support

Conversation

@yetmike
Copy link
Copy Markdown

@yetmike yetmike commented Feb 18, 2026

Depends on steipete/summarize#104 — merge that first, then cut a release, then merge this.


Summary

Restructures Formula/summarize.rb to support Linux x64 and arm64 in addition to macOS ARM64, by replacing the single flat url/sha256 + depends_on arch: :arm64 with on_macos/on_linux blocks.

Platforms covered after this change:

Platform Block
macOS ARM64 on_macos { on_arm } — existing sha256, unchanged
Linux x86_64 on_linux { on_intel }
Linux ARM64 on_linux { on_arm }

Merge order

  1. Merge feat: add Linux x64 and arm64 Homebrew support summarize#104 — adds pnpm build:bun:all:test (cross-compiles all three platforms from macOS) and updates scripts/release.sh tap to rewrite this formula with real sha256s automatically.
  2. Cut a release — run pnpm build:bun:all:test, create the GitHub release with all five assets (3 Bun tarballs + Chrome zip + Firefox zip).
  3. Run bash scripts/release.sh tap — downloads all three tarballs, computes sha256s, rewrites the formula. Commit & push.
  4. Merge this PR — formula now has real sha256s for all platforms.

Linux sha256 placeholders

The two Linux sha256 values are currently 0000… because no Linux release assets exist yet on steipete/summarize. They will be replaced by scripts/release.sh tap in step 3 above before this is merged.

Test plan

  • Merge feat: add Linux x64 and arm64 Homebrew support summarize#104
  • pnpm build:bun:all:test produces all three tarballs
  • Cut release, bash scripts/release.sh tap fills in real sha256s
  • On Linux x64: brew tap steipete/tap && brew install summarize && summarize --version
  • On Linux arm64: same
  • On macOS: brew upgrade summarize still works

🤖 Generated with Claude Code

Replace the single flat url/sha256 + `depends_on arch: :arm64` with
on_macos / on_linux blocks so the formula works on Linux hosts.

Platforms covered:
  - macOS ARM64  (existing, unchanged sha256)
  - Linux x86_64 (on_linux { on_intel })
  - Linux ARM64  (on_linux { on_arm })

The Linux sha256 placeholders will be replaced on the next release by
`bash scripts/release.sh tap` in steipete/summarize, which downloads
all three tarballs, computes their sha256s, and rewrites this file.
Linux binaries are built automatically by the new CI workflow
(.github/workflows/build-binary.yml) in steipete/summarize and
uploaded to the GitHub release alongside the macOS artifact.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@steipete
Copy link
Copy Markdown
Owner

Closing because current main fixed the reported bad Linux behavior by making summarize explicitly macOS-only, while this PR is stale/conflicting and still contains placeholder Linux SHA256 values. Linux support can come back once real Linux release artifacts exist. Thanks @yetmike for digging into the path.

@steipete steipete closed this Apr 21, 2026
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.

2 participants