From e0e94ec5e5da6e81c73c120c8607bdbe55b7b8e9 Mon Sep 17 00:00:00 2001 From: Mohsen Mottaghi Date: Fri, 18 Sep 2026 13:12:08 +0330 Subject: [PATCH] fix(ci): Update .goreleaser.yml to use hooks.post.install_steps for brew Signed-off-by: Mohsen Mottaghi --- .goreleaser.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 2ae9ca4..32b526d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -54,9 +54,9 @@ homebrew_casks: # Removes macOS quarantine bit — required since mmdb-cli is not notarized hooks: post: - install: | - if OS.mac? - system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/mmdb-cli"] + install_steps: | + on_macos do + run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{ .StagedPath }}/mmdb-cli"] end caveats: | mmdb-cli is not notarized by Apple. If macOS blocks the binary,