Skip to content

Commit

Permalink
writing checksums to dist/
Browse files Browse the repository at this point in the history
  • Loading branch information
joevanwanzeeleKF committed Mar 28, 2024
1 parent fa3e5bd commit ce82080
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ builds:
main: './cmd/keyfactor'
hooks:
post:
- cmd: sh -c "echo $(echo -n {{.Target}}; echo -n ' '; sha256sum {{.Path}}) >> {{.Dist}}/binary_checksums.txt"
- cmd: sh -c "echo $(echo -n {{.Target}}; echo -n ' '; sha256sum {{.Path}}) >> binary_checksums.txt"
dir: './dist'
archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
Expand All @@ -59,7 +60,7 @@ release:
extra_files:
- glob: 'installation.txt'
- glob: 'LICENSE.txt'
- glob: 'binary_checksums.txt'
# - glob: 'binary_checksums.txt'
# If you want to manually examine the release before its live, uncomment this line:
draft: true
changelog:
Expand Down

0 comments on commit ce82080

Please sign in to comment.