hetty/.goreleaser.yml

49 lines
753 B
YAML
Raw Normal View History

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