Add goreleaser
This commit is contained in:
parent
edfce8d053
commit
0ea3fd1c8c
32
.goreleaser.yaml
Normal file
32
.goreleaser.yaml
Normal 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'
|
Loading…
x
Reference in New Issue
Block a user