Add goreleaser
This commit is contained in:
parent
cdae5c7c0f
commit
a3e95cc3a5
35
.goreleaser.yaml
Normal file
35
.goreleaser.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
before:
|
||||
hooks:
|
||||
# clean up/install modules
|
||||
- go mod tidy
|
||||
builds:
|
||||
- main:
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
- darwin
|
||||
archives:
|
||||
- replacements:
|
||||
darwin: Darwin
|
||||
linux: Linux
|
||||
windows: Windows
|
||||
386: i386
|
||||
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:
|
||||
- '^Merge:'
|
||||
- '^docs:'
|
||||
- '^test:'
|
||||
- '^[Bb]ump'
|
||||
- '^[Cc]lean'
|
Loading…
x
Reference in New Issue
Block a user