diff --git a/.goreleaser.yml b/.goreleaser.yml index 5b4b883..377ec95 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -39,9 +39,9 @@ homebrew_casks: license: MIT hooks: post: - install: | - if OS.mac? - system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/liftoff-export"] + install_steps: | + on_macos do + run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{ .StagedPath }}/liftoff-export"] end release: