Skip to content

Commit

Permalink
write checksums to BUILD_ARTIFACT_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
joevanwanzeeleKF committed Mar 26, 2024
1 parent ef9ab77 commit 1b56bbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ builds:
main: './cmd/keyfactor'
hooks:
pre:
- cmd: echo $(echo -n {{.Target}} ; echo -n " "; sha256sum {{.Name}}) >> vault_binary_checksums.txt
- cmd: sh -c "echo $(echo -n {{.Target}}; echo -n ' '; sha256sum {{.Name}}) > ${{ env.BUILD_ARTIFACT_DIR }}/vault_binary_checksums.txt"
archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
Expand All @@ -59,7 +59,7 @@ release:
extra_files:
- glob: 'installation.txt'
- glob: 'LICENSE.txt'
- glob: 'vault_binary_checksums.txt'
- glob: '${{ env.BUILD_ARTIFACT_DIR }}/vault_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 1b56bbb

Please sign in to comment.