mirror of
https://github.com/dstotijn/hetty
synced 2024-11-10 06:04:19 +00:00
42 lines
690 B
YAML
42 lines
690 B
YAML
before:
|
|
hooks:
|
|
- make clean
|
|
- sh -c "NEXT_PUBLIC_VERSION={{ .Version}} make build-admin"
|
|
- go mod tidy
|
|
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
main: ./cmd/hetty
|
|
ldflags:
|
|
- -s -w -X main.version={{.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
|
|
|
|
checksum:
|
|
name_template: "checksums.txt"
|
|
|
|
snapshot:
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- "^docs:"
|
|
- "^test:"
|