Exclude Binary Folder #2296
Answered
by
caarlos0
ainsleyclark
asked this question in
Q&A
-
Hi, project_name: project
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- id: "mac"
env:
- CGO_ENABLED=0
goos:
- darwin
goarch:
- amd64
binary: "build/project"
archives:
-
id: mac
builds:
- mac
format: zip
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: "project"
files:
- README.md
- LICENCE
- build
checksum:
name_template: 'checksums.txt'
algorithm: sha256
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:' |
Beta Was this translation helpful? Give feedback.
Answered by
caarlos0
Jun 10, 2021
Replies: 1 comment 7 replies
-
not sure I get it... you want to not have the binaries in the zip file? |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
caarlos0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not sure I get it... you want to not have the binaries in the zip file?