fix(release): use postflight_steps for cask quarantine hook (#3084)
This commit is contained in:
parent
4c58432b68
commit
f4120c8023
1 changed files with 3 additions and 3 deletions
|
|
@ -117,9 +117,9 @@ homebrew_casks:
|
|||
# them. See https://goreleaser.com/customization/homebrew_casks/
|
||||
hooks:
|
||||
post:
|
||||
install: |
|
||||
if system_command("/usr/bin/xattr", args: ["-h"]).exit_status == 0
|
||||
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/task"]
|
||||
install_steps: |
|
||||
on_macos do
|
||||
run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{ .StagedPath }}/task"]
|
||||
end
|
||||
directory: Casks
|
||||
repository:
|
||||
|
|
|
|||
Loading…
Reference in a new issue