chore: add goreleaser

This commit is contained in:
DataHearth 2022-10-02 13:45:18 +02:00
parent 74e595401f
commit 76b9940c00
No known key found for this signature in database
GPG Key ID: E88FD356ACC5F3C4
2 changed files with 30 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
.env
.DS_STORE
build
build
dist/

28
.goreleaser.yaml Normal file
View File

@ -0,0 +1,28 @@
before:
hooks:
- go mod tidy
builds:
- 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:
- '^docs:'
- '^test:'
- '^chore:'