This commit is contained in:
iyear 2020-04-04 15:07:18 +08:00
parent 131b4cb195
commit 2f1b3db07d

33
.goreleaser.yml Normal file
View File

@ -0,0 +1,33 @@
project_name: E5SubBot
env:
- GO111MODULE=on
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
goarch:
- 386
- amd64
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: 32bit
amd64: 64bit
format_overrides:
- goos: windows
format: zip
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'