-
-
Save caarlos0/933749e069f3d4ba99c45c6d4289db3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is an example .goreleaser.yml file with some sensible defaults. | |
# Make sure to check the documentation at https://goreleaser.com | |
# includes: | |
# - from_file: | |
# path: .goreleaser.common.yml | |
project_name: helloworld | |
checksum: | |
name_template: 'checksums.txt' | |
snapshot: | |
name_template: "{{ incpatch .Version }}-next" | |
changelog: | |
sort: asc | |
filters: | |
exclude: | |
- '^docs:' | |
- '^test:' | |
builds: | |
- id: api | |
main: ./cmd/api/main.go | |
flags: | |
- -trimpath | |
env: | |
- CGO_ENABLED=0 | |
goos: | |
- linux | |
goarch: | |
- amd64 | |
- id: worker | |
main: ./cmd/worker/main.go | |
flags: | |
- -trimpath | |
env: | |
- CGO_ENABLED=0 | |
goos: | |
- linux | |
goarch: | |
- amd64 | |
- id: cli | |
main: ./cmd/cli/main.go | |
flags: | |
- -trimpath | |
env: | |
- CGO_ENABLED=0 | |
goos: | |
- darwin | |
goarch: | |
- amd64 | |
archives: | |
- id: cli | |
format: tar.gz | |
builds: | |
- cli | |
replacements: | |
darwin: Darwin | |
files: | |
- none* | |
- id: binary | |
format: binary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment