chore: adds release system.

This commit is contained in:
Fernandez Ludovic 2019-02-11 11:58:19 +01:00
parent ebec361b9f
commit 4458095cca

47
.goreleaser.yml Normal file
View File

@ -0,0 +1,47 @@
project_name: treafik-certs-dumper
builds:
- binary: treafik-certs-dumper
env:
- GO111MODULE=on
goos:
- windows
- darwin
- linux
- freebsd
- openbsd
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 7
- 6
- 5
ignore:
- goos: darwin
goarch: 386
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^doc:'
- '^chore:'
- '^test:'
- '^tests:'
archive:
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm}}v{{ .Arm }}{{ end }}'
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
#release:
# disable: true