Add goreleaser

This commit is contained in:
Justin Hawkins 2023-01-09 07:45:27 +10:30
parent edfce8d053
commit 0ea3fd1c8c

32
.goreleaser.yaml Normal file
View File

@ -0,0 +1,32 @@
before:
hooks:
# clean up/install modules
- go mod tidy
builds:
- main: main.go
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^Merge:'
- '^docs:'
- '^test:'
- '^[Bb]ump'
- '^[Cc]lean'