1

Add goreleaser config

This commit is contained in:
Vladimir Hodakov 2019-10-09 06:03:30 +04:00
parent bd2e55fc53
commit 6e7908f9cd
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6
3 changed files with 47 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.DS_Store
dist/

45
.goreleaser.yml Normal file
View File

@ -0,0 +1,45 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
builds:
- binary: massdl
env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
- freebsd
goarch:
- amd64
- arm64
- arm
- 386
- ppc64le
- s390x
goarm:
- 6
- 7
main: ./cmd/massdl/
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
freebsd: FreeBSD
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
- goos: darwin
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'