github.com/amane3/goreleaser@v0.182.0/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 // nolint: gochecknoglobals 8 const ExampleConfig = `# This is an example .goreleaser.yml file with some sane defaults. 9 # Make sure to check the documentation at http://goreleaser.com 10 before: 11 hooks: 12 # You may remove this if you don't use go modules. 13 - go mod download 14 # you may remove this if you don't need go generate 15 - go generate ./... 16 builds: 17 - env: 18 - CGO_ENABLED=0 19 goos: 20 - linux 21 - windows 22 - darwin 23 archives: 24 - replacements: 25 darwin: Darwin 26 linux: Linux 27 windows: Windows 28 386: i386 29 amd64: x86_64 30 checksum: 31 name_template: 'checksums.txt' 32 snapshot: 33 name_template: "{{ .Tag }}-next" 34 changelog: 35 sort: asc 36 filters: 37 exclude: 38 - '^docs:' 39 - '^test:' 40 `