From 35a671420134f82228001110fe1b3812b568419a Mon Sep 17 00:00:00 2001 From: Alan Buscaglia Date: Fri, 29 May 2026 13:07:04 +0200 Subject: [PATCH] fix(release): adhoc re-sign darwin binaries to prevent AMFI SIGKILL on macOS 26.4 (#402) --- .goreleaser.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0f52c524..5fac4821 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -20,6 +20,9 @@ builds: - arm64 ldflags: - -s -w -X main.version={{.Version}} + hooks: + post: + - cmd: sh -c 'if [ "{{ .Os }}" = "darwin" ] && command -v codesign >/dev/null 2>&1; then codesign --force --sign - "{{ .Path }}"; fi' archives: - formats: