2020-06-13 02:24:54 +02:00
|
|
|
// Package static contains static "text" files, just because embedding real
|
|
|
|
// static files would be kind of an overengineering right now, so it's just
|
|
|
|
// strings in go code really.
|
2019-01-22 05:12:17 +02:00
|
|
|
package static
|
|
|
|
|
|
|
|
// ExampleConfig is the config used within goreleaser init.
|
2020-12-20 15:56:00 +02:00
|
|
|
const ExampleConfig = `# This is an example .goreleaser.yml file with some sane defaults.
|
2019-01-22 05:12:17 +02:00
|
|
|
# Make sure to check the documentation at http://goreleaser.com
|
|
|
|
before:
|
|
|
|
hooks:
|
2020-02-17 14:13:28 +02:00
|
|
|
# You may remove this if you don't use go modules.
|
2021-03-03 02:29:31 +02:00
|
|
|
- go mod tidy
|
2019-01-22 05:12:17 +02:00
|
|
|
# you may remove this if you don't need go generate
|
|
|
|
- go generate ./...
|
|
|
|
builds:
|
2020-07-25 23:57:16 +02:00
|
|
|
- env:
|
|
|
|
- CGO_ENABLED=0
|
2020-07-20 15:34:33 +02:00
|
|
|
goos:
|
2020-07-25 23:57:16 +02:00
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
- darwin
|
2019-04-16 15:19:15 +02:00
|
|
|
archives:
|
2020-07-25 23:57:16 +02:00
|
|
|
- replacements:
|
|
|
|
darwin: Darwin
|
|
|
|
linux: Linux
|
|
|
|
windows: Windows
|
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
2019-01-22 05:12:17 +02:00
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-next"
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
2020-07-25 23:57:16 +02:00
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|
2019-01-22 05:12:17 +02:00
|
|
|
`
|