Skip to content

Commit

Permalink
feat(build): code-sign Windows binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Oct 12, 2023
1 parent 5da2048 commit 963eff6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ builds:
id: windows
goos: [windows]
goarch: ["386", amd64, arm64]
hooks: # https://goreleaser.com/customization/builds/#build-hooks
post:
- osslsigncode sign -certs ./certkey/spc.pem -key ./certkey/private_key.pem -n "fastly-cli" -i "https://github.com/fastly/cli" -verbose -in "{{ .Path }}" -out "{{ .Path }}-signed"
- mv "{{ .Path }}-signed" "{{ .Path }}"
- <<: *build_defaults
env:
- CGO_ENABLED=0
Expand Down

0 comments on commit 963eff6

Please sign in to comment.