Skip to content

Commit ccb0dbb

Browse files
committed
ci: homebrew fix macos permissions
1 parent 87c3838 commit ccb0dbb

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
@@ -82,6 +82,12 @@ homebrew_casks:
8282
branch: master
8383
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
8484
commit_msg_template: "Cask update for {{ .ProjectName }} version {{ .Tag }}"
85+
hooks:
86+
post:
87+
install: |
88+
if OS.mac?
89+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/secctl"]
90+
end
8591
8692
release:
8793
github:

0 commit comments

Comments
 (0)