Skip to content

Commit

Permalink
Merge pull request #102 from snyk/chore/release-acknowledgements
Browse files Browse the repository at this point in the history
Include acknowledgements.tar.gz with release [CFG-1245]
  • Loading branch information
p0tr3c authored Dec 9, 2021
2 parents d4591d7 + 4a078ac commit 354123a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ project_name: snyk-iac-rules
before:
hooks:
- go mod tidy
- go get github.com/google/go-licenses
- go-licenses save . --save_path=./acknowledgements
- tar -cvf ./acknowledgements.tar.gz -C ./acknowledgements .
- rm -rf ./acknowledgements

builds:
- main: ./main.go
Expand Down Expand Up @@ -66,6 +70,9 @@ release:
Those were the changes on {{ .Tag }}!
extra_files:
- glob: ./acknowledgements.tar.gz

brews:
-
# If set to auto, the release will not be uploaded to the homebrew tap
Expand Down

0 comments on commit 354123a

Please sign in to comment.