Skip to content

Commit

Permalink
Merge pull request #722 from Juniper/feat/623-3rd-party-license-in-re…
Browse files Browse the repository at this point in the history
…lease

Feat/623 Include 3rd party licenses in release bundle
  • Loading branch information
chrismarget-j authored Jul 15, 2024
2 parents 5a7caaa + bb306b3 commit 20ba52d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#
before:
hooks:
- sh -c "[ \"$(git branch --show-current)\" = \"main\" ] || (echo must be on branch main; false)"
- sh -c "[ \"$(git pull)\" = \"Already up to date.\" ] || (echo not in sync with origin; false)"
- sh -c "[ \"$(git branch --show-current)\" = \"main\" ] || [ \"$RELEASE_TEST\" = \"1\" ] || (echo must be on branch main; false)"
- sh -c "[ \"$(git pull)\" = \"Already up to date.\" ] || [ \"$RELEASE_TEST\" = \"1\" ] || (echo not in sync with origin; false)"
- make compliance
- make docs
- git update-index --refresh && git diff-index --quiet HEAD --
Expand Down Expand Up @@ -36,6 +36,10 @@ builds:
archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
files:
- LICENSE
- README.md
- Third_Party_Code/NOTICES.md
checksum:
extra_files:
- glob: 'terraform-registry-manifest.json'
Expand Down

0 comments on commit 20ba52d

Please sign in to comment.