chore: adds release system.
This commit is contained in:
parent
ebec361b9f
commit
4458095cca
47
.goreleaser.yml
Normal file
47
.goreleaser.yml
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user