E5BotForSQLite/.goreleaser.yml

44 lines
808 B
YAML
Raw Normal View History

2020-04-04 15:07:18 +08:00
project_name: E5SubBot
env:
- GO111MODULE=on
builds:
- env:
- CGO_ENABLED=0
2021-07-06 21:50:11 +08:00
ldflags: -s -w
2020-04-04 15:07:18 +08:00
goos:
- linux
- windows
goarch:
- 386
- amd64
2020-04-12 09:08:06 +08:00
- arm
- arm64
goarm:
- 6
- 7
2020-04-04 15:07:18 +08:00
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
2021-07-06 21:51:41 +08:00
files:
- README.md
- README_zhCN.md
- config.yml.example
- LICENSE
2020-04-04 15:07:18 +08:00
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'