Skip to content

Commit 4150d5d

Browse files
committed
fix: strip macOS quarantine attribute on Homebrew cask install
1 parent 4eb427f commit 4150d5d

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.goreleaser.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ homebrew_casks:
5959
license: "MIT"
6060
binaries:
6161
- forgebit
62+
hooks:
63+
post:
64+
install: |
65+
if OS.mac?
66+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/forgebit"]
67+
end
6268
6369
release:
6470
github:

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

77
## [Unreleased]
88

9+
## [0.1.1] - 2026-07-16
10+
11+
### Fixed
12+
13+
- Homebrew cask now strips the macOS quarantine attribute on install — the unsigned `forgebit` binary was being killed by Gatekeeper (exit 137) on launch
14+
915
## [0.1.0] - 2026-07-16
1016

1117
### Added

0 commit comments

Comments
 (0)