Skip to content

Commit c6587f4

Browse files
committed
chore: add gatekeeper fix for macos
1 parent 9683a6a commit c6587f4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.goreleaser.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ homebrew_casks:
7878
directory: Casks
7979
binaries:
8080
- bndry
81+
hooks:
82+
post:
83+
install: |
84+
if OS.mac?
85+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/bndry"]
86+
end
8187
commit_msg_template: 'Brew cask update for {{ .ProjectName }} version {{ .Tag }}'
8288
homepage: 'https://github.com/ofkm/bndry'
8389
description: 'Friendly CLI wrapper for HashiCorp Boundary focused on SSH workflows'

0 commit comments

Comments
 (0)