Skip to content

Release workflow: static Linux and Mac binaries, Homebrew formula - #35

Merged
darkspadez merged 1 commit into
mainfrom
claude/architecture-design-3fxhjv
Oct 23, 2026
Merged

darkspadez merged 1 commit into
mainfrom
claude/architecture-design-3fxhjv

Conversation

@darkspadez

Copy link
Copy Markdown
Contributor

Before: installing rustFUSE on another machine meant cloning the repo and building it with cargo.

After: pushing a tag v<version> publishes a GitHub release with ready-to-run binaries:

  • Linux x86-64 and arm64: static musl builds, so one binary runs on any distribution.
  • Apple silicon: rustfuse, plus rustfuse-macfuse for FUSE mounts when macFUSE is installed.
  • SHA256SUMS for all of the above.

The workflow then opens a PR adding the Homebrew formula for that release. Because this repo is the tap, brew tap qopsc/rustfuse https://github.com/qopsc/rustFUSE && brew install qopsc/rustfuse/rustfuse installs it on macOS or Linux.

How: .github/workflows/release.yml runs a build matrix on the Namespace profiles.

  • It checks that the tag matches the workspace version.
  • It checks that each binary reports that version, that the Linux binaries are static, and that the plain Mac binary doesn't link macFUSE.
  • dev/formula.sh writes the formula from the archives' checksums.
  • The formula job installs and tests it with brew from the freshly built archive.

On PRs that touch these files, everything runs except publishing. I checked locally that the static x86-64 musl binary syncs end to end against rustFS (init, then attach).

Not included: the Mac app (it needs signing) and Intel Macs (there's no Intel runner).


Generated by Claude Code

A tag v<version> builds rustfuse for x86_64/aarch64 Linux (musl, static)
and Apple silicon (plus rustfuse-macfuse), publishes them as a GitHub
release with checksums, and opens a pull request with the Homebrew
formula, which dev/formula.sh writes. On pull requests touching these
files, the builds and a local `brew install` of the formula run without
publishing.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017XkM29BZuvUK5RBjQ1fmWx
@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: c7c00107-f3dc-4e8f-ae97-04c2f913156a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@darkspadez
darkspadez marked this pull request as ready for review October 23, 2026 02:22
@darkspadez
darkspadez merged commit 735e6d5 into main Oct 23, 2026
13 checks passed
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