Skip to content

Commit 994159e

Browse files
committed
GoReleaser: Remove the quarantine bit via Homebrew
1 parent be9bbde commit 994159e

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
@@ -47,6 +47,12 @@ homebrew_casks:
4747
homepage: https://github.com/typisttech/wpry
4848
description: |-
4949
Parses WordPress plugin and theme headers
50+
hooks:
51+
post:
52+
install: |
53+
if OS.mac?
54+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/wpry"]
55+
end
5056
repository:
5157
owner: typisttech
5258
name: homebrew-tap

0 commit comments

Comments
 (0)