Skip to content

Commit

Permalink
github action
Browse files Browse the repository at this point in the history
  • Loading branch information
joevanwanzeeleKF committed Mar 28, 2024
1 parent 8cfffd7 commit fa3e5bd
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:
post:
- cmd: sh -c "echo $(echo -n {{.Target}}; echo -n ' '; sha256sum {{.Name}}) >> ${ env.BUILD_ARTIFACT_DIR }/vault_binary_checksums.txt"
- cmd: sh -c "echo $(echo -n {{.Target}}; echo -n ' '; sha256sum {{.Path}}) >> {{.Dist}}/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: '${ env.BUILD_ARTIFACT_DIR }/vault_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 fa3e5bd

Please sign in to comment.