Skip to content

Commit

Permalink
ci: add codesign to universal2 build's post hook
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Jul 24, 2023
1 parent 8c30f68 commit 9b394c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ universal_binaries:
hooks:
post:
- mkdir -p ./dist/claveilleur_darwin_all
- bash -c 'cp "$(swift build --show-bin-path -c release --arch arm64 --arch x86_64)/claveilleur" ./dist/claveilleur_darwin_all/claveilleur'
- bash -c 'cp "$(swift build --show-bin-path -c release --arch arm64 --arch x86_64)/claveilleur" {{ .Path }}'
- codesign -dvvv --force --sign - {{ .Path }}

archives:
- format: tar.gz
Expand Down

0 comments on commit 9b394c6

Please sign in to comment.