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 Nov 9, 2023
1 parent d8a3661 commit 7d18278
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 7d18278

Please sign in to comment.