2021-03-28 22:42:12 +08:00
|
|
|
# This is an example goreleaser.yaml file with some sane defaults.
|
|
|
|
# Make sure to check the documentation at http://goreleaser.com
|
|
|
|
builds:
|
2021-04-04 01:44:44 +08:00
|
|
|
- env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
ldflags:
|
|
|
|
- -s -w -X github.com/bakito/adguardhome-sync/version.Version={{.Version}}
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- 386
|
|
|
|
- amd64
|
|
|
|
- arm
|
|
|
|
- arm64
|
|
|
|
goarm:
|
|
|
|
- 5
|
|
|
|
- 6
|
|
|
|
- 7
|
|
|
|
ignore:
|
|
|
|
- goos: darwin
|
|
|
|
goarch: arm
|
|
|
|
- goos: darwin
|
|
|
|
goarch: arm64
|
|
|
|
- goos: windows
|
|
|
|
goarch: arm
|
|
|
|
- goos: windows
|
|
|
|
goarch: arm64
|
|
|
|
hooks:
|
|
|
|
post: upx {{ .Path }}
|
2021-03-28 22:42:12 +08:00
|
|
|
archives:
|
2021-04-04 01:44:44 +08:00
|
|
|
- replacements:
|
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
2021-03-28 22:42:12 +08:00
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-next"
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
2021-04-04 01:44:44 +08:00
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|