Skip to content

Commit 857a65a

Browse files
Alan-TheGentlemanrubenqc
authored andcommitted
fix(release): adhoc re-sign darwin binaries to prevent AMFI SIGKILL on macOS 26.4 (Gentleman-Programming#402) (Gentleman-Programming#453)
1 parent bed2d75 commit 857a65a

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
@@ -23,6 +23,9 @@ builds:
2323
- arm64
2424
ldflags:
2525
- -s -w -X main.version={{.Version}}
26+
hooks:
27+
post:
28+
- cmd: sh -c 'if [ "{{ .Os }}" = "darwin" ] && command -v codesign >/dev/null 2>&1; then codesign --force --sign - "{{ .Path }}"; fi'
2629

2730
archives:
2831
- id: default

0 commit comments

Comments
 (0)