Skip to content

Commit 5f8cb8d

Browse files
fix(release): adhoc re-sign darwin binaries to prevent AMFI SIGKILL on macOS 26.4 (#402) (#453)
1 parent 1858513 commit 5f8cb8d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.goreleaser.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ builds:
2020
- arm64
2121
ldflags:
2222
- -s -w -X main.version={{.Version}}
23+
hooks:
24+
post:
25+
- cmd: sh -c 'if [ "{{ .Os }}" = "darwin" ] && command -v codesign >/dev/null 2>&1; then codesign --force --sign - "{{ .Path }}"; fi'
2326

2427
archives:
2528
- formats:

0 commit comments

Comments
 (0)