Files
hetty/.goreleaser.yml

49 lines
794 B
YAML
Raw Normal View History

2022-01-25 13:20:16 +01:00
before:
hooks:
- make clean
2022-01-28 20:20:15 +01:00
- sh -c "NEXT_PUBLIC_VERSION={{ .Version}} make build-admin"
2022-01-25 13:20:16 +01:00
- go mod tidy
builds:
2022-01-25 13:20:16 +01:00
- env:
- CGO_ENABLED=0
2020-10-04 11:50:03 +02:00
main: ./cmd/hetty
2022-01-25 13:20:16 +01:00
ldflags:
2022-01-26 11:35:47 +01:00
- -s -w -X main.version={{.Version}}
goos:
- linux
2022-01-25 13:20:16 +01:00
- windows
- darwin
goarch:
- amd64
2022-01-25 13:20:16 +01:00
- arm64
archives:
2022-01-25 13:20:16 +01:00
- replacements:
darwin: macOS
linux: Linux
windows: Windows
amd64: x86_64
format_overrides:
2022-01-25 13:20:16 +01: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 13:20:16 +01:00
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"