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 16, 2024
1 parent 72fbf44 commit 2e9acdb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 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 @@ -90,7 +92,8 @@ 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 2e9acdb

Please sign in to comment.