github.com/joselitofilho/goreleaser@v0.155.1-0.20210123221854-e4891856c593/internal/static/config.go (about) 1 // Package static contains static "text" files, just because embedding real 2 // static files would be kind of an overengineering right now, so it's just 3 // strings in go code really. 4 package static 5 6 // ExampleConfig is the config used within goreleaser init. 7 const ExampleConfig = `# This is an example .goreleaser.yml file with some sane defaults. 8 # Make sure to check the documentation at http://goreleaser.com 9 before: 10 hooks: 11 # You may remove this if you don't use go modules. 12 - go mod download 13 # you may remove this if you don't need go generate 14 - go generate ./... 15 builds: 16 - env: 17 - CGO_ENABLED=0 18 goos: 19 - linux 20 - windows 21 - darwin 22 archives: 23 - replacements: 24 darwin: Darwin 25 linux: Linux 26 windows: Windows 27 386: i386 28 amd64: x86_64 29 checksum: 30 name_template: 'checksums.txt' 31 snapshot: 32 name_template: "{{ .Tag }}-next" 33 changelog: 34 sort: asc 35 filters: 36 exclude: 37 - '^docs:' 38 - '^test:' 39 `