Skip to content

Commit

Permalink
[HPR-1702] build: Add LICENSE file to release artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
nywilken committed Apr 12, 2024
1 parent 4f40155 commit cd7c68f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ before:
- go test ./...
# Check plugin compatibility with required version of the Packer SDK
- make plugin-check
# Copy LICENSE file for inclusion in zip archive
- cp LICENSE LICENSE.txt
builds:
# A separated build to run the packer-plugins-check only once for a linux_amd64 binary
-
Expand Down Expand Up @@ -85,7 +87,7 @@ builds:
archives:
- format: zip
files:
- none*
- "LICENSE.txt"
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
checksum:
name_template: '{{ .ProjectName }}_v{{ .Version }}_SHA256SUMS'
Expand Down

0 comments on commit cd7c68f

Please sign in to comment.