From 0d03f228f9d28b56612b51aa7fcf01605306ee7c Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sun, 7 Dec 2025 14:04:38 +0000 Subject: [PATCH] fixup! Update gorelease config and docs - moving to cask due to depreciation --- .goreleaser.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d7d4b26..fb73daa 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -62,7 +62,10 @@ homebrew_casks: homepage: https://lukaszraczylo.github.io/kportal description: "Modern Kubernetes port-forward manager with interactive TUI" license: MIT - postflight: | - system_command "/usr/bin/xattr", - args: ["-dr", "com.apple.quarantine", "#{staged_path}/kportal"], - sudo: false + hooks: + post.install: | + if OS.mac? + system_command "/usr/bin/xattr", + args: ["-dr", "com.apple.quarantine", "#{staged_path}/kportal"], + sudo: false + end