hetty/.goreleaser.yml
2022-01-25 13:20:16 +01:00

48 lines
753 B
YAML

before:
hooks:
- make clean
- make build-admin
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/hetty
ldflags:
- -s -w -X main.version=v{{.Version}}
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
- replacements:
darwin: macOS
linux: Linux
windows: Windows
amd64: x86_64
format_overrides:
- goos: windows
format: zip
gomod:
proxy: true
env:
- GOPROXY=https://proxy.golang.org,direct
- GOSUMDB=sum.golang.org
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"