Skip to content

Commit

Permalink
check certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAlvo1 committed May 2, 2024
1 parent 7c38f5c commit feb7c5b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .goreleaser-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,15 @@ builds:
- -s
- -w
- -X github.com/checkmarx/ast-cli/internal/params.Version={{.Version}}
hooks:
post build:
- cmd: gpg --output ./dist/{{ .ProjectName }}_{{ .Version }}_linux_amd64.sig --detach-sig ./dist/{{ .Artifact }}
when:
- "build.env.GOOS == 'linux' && build.env.GOARCH == 'amd64'"
- cmd: gpg --output ./dist/{{ .ProjectName }}_{{ .Version }}_windows_amd64.sig --detach-sig ./dist/{{ .Artifact }}
when:
- "build.env.GOOS == 'windows' && build.env.GOARCH == 'amd64'"
signs:
- cmd: gpg --output ./dist/{{ .ProjectName }}_{{ .Version }}_linux_amd64.sig --detach-sig ./dist/{{ .Binary }}
artifacts:
- cx
info: signing Linux (amd64) binary
- cmd: gpg --output ./dist/{{ .ProjectName }}_{{ .Version }}_windows_amd64.sig --detach-sig ./dist/{{ .Binary }}
artifacts:
- cx.exe
info: signing Windows (amd64) binary

archives:
- id: cx
Expand Down

0 comments on commit feb7c5b

Please sign in to comment.