Skip to content

Commit 2eb69d6

Browse files
amartin120mergify[bot]
authored andcommitted
fix for homebrew macOS binary quarantine (#690)
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com> (cherry picked from commit ee55c5b)
1 parent a6f031f commit 2eb69d6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.goreleaser.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ homebrew_casks:
4545
name: homebrew-tap
4646
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
4747
description: "Hauler: Airgap Swiss Army Knife"
48+
hooks:
49+
post:
50+
install: |
51+
if OS.mac?
52+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/hauler"]
53+
end
4854
4955
dockers_v2:
5056
- id: hauler

0 commit comments

Comments
 (0)