hetty/.goreleaser.yml

43 lines
690 B
YAML
Raw Normal View History

2022-01-25 12:20:16 +00:00
before:
hooks:
- make clean
2022-01-28 19:20:15 +00:00
- sh -c "NEXT_PUBLIC_VERSION={{ .Version}} make build-admin"
2022-01-25 12:20:16 +00:00
- 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:
2022-01-26 10:35:47 +00:00
- -s -w -X main.version={{.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
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:"