Add goreleaser config

This commit is contained in:
Mustafa Gezen 2021-06-08 20:17:01 +02:00
parent f63085098e
commit 32dd9b5edb
Signed by: mustafa
GPG Key ID: DCDF010D946438C1

27
.goreleaser.yml Normal file
View File

@ -0,0 +1,27 @@
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/srpmproc
binary: srpmproc
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'