From 895838dfb010e4e9406f816246796ed84a510f82 Mon Sep 17 00:00:00 2001 From: DTTerastar Date: Fri, 6 Nov 2026 10:53:02 -0500 Subject: [PATCH] goreleaser: use cask install_steps instead of deprecated install hook GoReleaser v2.19+ emits Homebrew's postflight_steps stanza only from hooks.post.install_steps; the old install hook still generates the deprecated postflight stanza, which warns on every brew command. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01CP5PymEM8y5ik8S89BbSwD --- .goreleaser.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: