Skip to content

Commit

Permalink
fix: missing hook to sign darwin binaries (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen authored Feb 6, 2024
1 parent ba3a270 commit ea35f26
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ builds:
- -X '{{ .ModulePath }}/pkg/common.BRANCH={{ .Branch }}'
- -X '{{ .ModulePath }}/pkg/common.VERSION={{ .Tag }}'
- -X '{{ .ModulePath }}/pkg/common.COMMIT={{ .Commit }}'
hooks:
post:
- cmd: |
{{- if eq .Os "darwin" -}}
quill sign-and-notarize "{{ .Path }}" --dry-run={{ .IsSnapshot }} --ad-hoc={{ .IsSnapshot }} -vv
{{- else -}}
true
{{- end -}}
env:
- QUILL_LOG_FILE=/tmp/quill-{{ .Target }}.log
archives:
- id: default
builds:
Expand Down

0 comments on commit ea35f26

Please sign in to comment.