diff --git a/.goreleaser.yaml b/.goreleaser.yaml index ffeac85..4b5b23a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -145,8 +145,8 @@ homebrew_casks: license: MIT hooks: post: - install: | - if OS.mac? - system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/notecard"] - system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/notehub"] + install_steps: | + on_macos do + run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{ .StagedPath }}/notecard"] + run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{ .StagedPath }}/notehub"] end