Skip to content

Attach universal macOS binary to GitHub releases#33

Merged
stephencelis merged 2 commits intopointfreeco:mainfrom
schneiderandre:feature/release-binary
Feb 18, 2026
Merged

Attach universal macOS binary to GitHub releases#33
stephencelis merged 2 commits intopointfreeco:mainfrom
schneiderandre:feature/release-binary

Conversation

@schneiderandre
Copy link
Contributor

Summary

  • Adds a build job to the release workflow that compiles a universal macOS binary (arm64 + x86_64) and uploads it as a release asset (pfw-macos-universal.tar.gz).
  • Slack notification jobs now depend on the build job via needs: build.
  • Enables installing pfw directly from a GitHub release via tools like mise (GitHub backend), without needing Homebrew or building from source.

Considerations

  • Universal binary: Builds for both arm64 and x86_64 in a single binary. I assume you still want to support Intel Macs.
  • Build job: Only runs on release events. Uses gh release upload to attach the tarball directly to the triggering release.
  • needs: build: The Slack notification jobs depend on the build job. Notifications are only sent after the binary has been successfully built and uploaded.

Verification

A test release (0.0.7) was created to verify the workflow. The binary was successfully built, uploaded, and installed via mise:

mise use -g github:schneiderandre/pfw@0.0.7

Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@stephencelis stephencelis merged commit e08039b into pointfreeco:main Feb 18, 2026
2 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