Skip to content

Commit

Permalink
fix(build): restore all build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer committed Nov 16, 2024
1 parent 763cdc5 commit 3ad5be4
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions src/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ builds:
env:
- CGO_ENABLED=0
goos:
# - linux
- linux
- windows
# - darwin
# - freebsd
- darwin
- freebsd
goarch:
# - amd64
- amd64
- arm64
# - arm
# - "386"
# ignore:
# - goos: darwin
# goarch: "386"
# - goos: darwin
# goarch: arm
# - goos: windows
# goarch: arm
- arm
- "386"
ignore:
- goos: darwin
goarch: "386"
- goos: darwin
goarch: arm
- goos: windows
goarch: arm
hooks:
post:
- pwsh -c "if ('{{ .Path }}'.EndsWith('.exe')) { & '{{ .Env.SIGNTOOL }}' sign /v /debug /fd SHA256 /tr 'http://timestamp.acs.microsoft.com' /td SHA256 /dlib '{{ .Env.SIGNTOOLDLIB }}' /dmdf './metadata.json' '{{ .Path }}' }"
Expand All @@ -50,11 +50,11 @@ archives:
name_template: "posh-{{ .Os }}-{{ .Arch }}"
checksum:
name_template: 'checksums.txt'
# signs:
# - cmd: pwsh
# args:
# - "-c"
# - "& '{{ .Env.OPENSSL }}' pkeyutl -sign -inkey '{{ .Env.SHA_SIGNING_KEY_LOCATION }}' -out '${artifact}.sig' -rawin -in '${artifact}'"
# artifacts: checksum
signs:
- cmd: pwsh
args:
- "-c"
- "& '{{ .Env.OPENSSL }}' pkeyutl -sign -inkey '{{ .Env.SHA_SIGNING_KEY_LOCATION }}' -out '${artifact}.sig' -rawin -in '${artifact}'"
artifacts: checksum
changelog:
disable: true

0 comments on commit 3ad5be4

Please sign in to comment.